6 Replies - 3363 Views - Last Post: 24 May 2011 - 02:05 PM

Topic Sponsor:

#1 bonmay  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 18-May 11

How to change the font with variables?

Posted 18 May 2011 - 10:58 PM

I have tried to change the font, but something over rides it. So, I am thinking it must be the variables.
I have a fancy font and I want to change it to something a little more simple.
http://www.quicktattletails.com/

Any help would be greatly appreciated!

[Variable name="bgcolor" description="Page Background Color"
type="color" default="#fff" value="#ffffff"]
[Variable name="textcolor" description="Text Color"
type="color" default="#333" value="#333333"]
[Variable name="linkcolor" description="Link Color"
type="color" default="#58a" value="#5588aa"]
[Variable name="pagetitlecolor" description="Blog Title Color"
type="color" default="#666" value="#666666"]
[Variable name="descriptioncolor" description="Blog Description Color"
type="color" default="#999" value="#999999"]
[Variable name="titlecolor" description="Post Title Color"
type="color" default="#c60" value="#cc6600"]
[Variable name="bordercolor" description="Border Color"
type="color" default="#ccc" value="#cccccc"]
[Variable name="sidebarcolor" description="Sidebar Title Color"
type="color" default="#999" value="#999999">
[Variable name="sidebartextcolor" description="Sidebar Text Color"
type="color" default="#666" value="#666666"]
[Variable name="visitedlinkcolor" description="Visited Link Color"
type="color" default="#999" value="#999999"]
[Variable name="bodyfont" description="Text Font"
type="font" default="normal normal 100% Century Gothic, Serif" value="normal normal 100% Century Gothic, Serif"]

default="normal normal 78% 'Century Gothic',Trebuchet,Arial,Verdana,Sans-serif"]
[Variable name="pagetitlefont" description="Blog Description Font"
type="font"
default="normal normal 200% Century Gothic, Serif" value="normal normal 200% Century Gothic, Serif"]
[Variable name="descriptionfont" description="Blog Description Font"
type="font"
default="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif"]
[Variable name="postfooterfont" description="Post Footer Font"
type="font"
default="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif"]
[Variable name="startSide" description="Side where text starts in blog language"
type="automatic" default="left" value="left"]
[Variable name="endSide" description="Side where text ends in blog language"
type="automatic" default="right" value="right"]
*/

Is This A Good Question/Topic? 0
  • +

Replies To: How to change the font with variables?

#2 calebjonasson  Icon User is offline

  • $bert = new DragonUnicorn(); $bert->rawr();
  • member icon

Reputation: 177
  • View blog
  • Posts: 953
  • Joined: 28-February 09

Re: How to change the font with variables?

Posted 20 May 2011 - 01:06 PM

Code Tags > _ <

Just look through the code for each node and change the font type for each section.
[Variable
    name="descriptionfont"
    description="Blog Description Font"
    type="font"
    default="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif"
    value="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif"
]


Was This Post Helpful? 0
  • +
  • -

#3 skfupm  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 43
  • Joined: 20-May 09

Re: How to change the font with variables?

Posted 22 May 2011 - 12:04 AM

I would recommend that you create a Class for Variable and define a constructor that takes an array and of course you can extend other functions as in set or get.
Was This Post Helpful? 0
  • +
  • -

#4 bonmay  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 18-May 11

Re: How to change the font with variables?

Posted 22 May 2011 - 03:41 AM

I tried that and it didn't work.


View Postcalebj, on 20 May 2011 - 01:06 PM, said:

Code Tags > _ <

Just look through the code for each node and change the font type for each section.
[Variable
    name="descriptionfont"
    description="Blog Description Font"
    type="font"
    default="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif"
    value="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif"
]


This post has been edited by bonmay: 22 May 2011 - 03:42 AM

Was This Post Helpful? 0
  • +
  • -

#5 calebjonasson  Icon User is offline

  • $bert = new DragonUnicorn(); $bert->rawr();
  • member icon

Reputation: 177
  • View blog
  • Posts: 953
  • Joined: 28-February 09

Re: How to change the font with variables?

Posted 24 May 2011 - 09:46 AM

If you just plugged my code in you wouldn't see any change. The thing that you need to change is the font name that is referenced. This means that you are going to want to switch out the default and value attribute to something that fits your needs such as the font that you linked to.
Was This Post Helpful? 0
  • +
  • -

#6 bonmay  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 18-May 11

Re: How to change the font with variables?

Posted 24 May 2011 - 10:07 AM

View Postcalebj, on 24 May 2011 - 09:46 AM, said:

If you just plugged my code in you wouldn't see any change. The thing that you need to change is the font name that is referenced. This means that you are going to want to switch out the default and value attribute to something that fits your needs such as the font that you linked to.


Thanks for your help!
Ok, I changed from Century Gothic to Tahoma, but nothing happens. I have done this numerous times in the past, so what me I missing?

[Variable name="bodyfont" description="Text Font"
type="font" default="normal normal 100% Tahoma, Serif" value="normal normal 100% Century Gothic, Serif"]

default="normal normal 78% 'Tahoma',Trebuchet,Arial,Verdana,Sans-serif"]
[Variable name="pagetitlefont" description="Blog Description Font"
type="font"
default="normal normal 200% Tahoma, Serif" value="normal normal 200% Century Gothic, Serif"]
[Variable name="descriptionfont" description="Blog Description Font"
type="font"
default="normal normal 78% 'Tahoma', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif"]
[Variable name="postfooterfont" description="Post Footer Font"
type="font"
default="normal normal 78% 'Tahoma', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif"]
[Variable name="startSide" description="Side where text starts in blog language"
type="automatic" default="left" value="left"]
[Variable name="endSide" description="Side where text ends in blog language"
type="automatic" default="right" value="right"]
*/
Was This Post Helpful? 0
  • +
  • -

#7 bonmay  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 18-May 11

Re: How to change the font with variables?

Posted 24 May 2011 - 02:05 PM

I got the answer to my question from blogger help section and it was a script that was over riding it.
Thanks for your help anyway! :)

View Postbonmay, on 24 May 2011 - 10:07 AM, said:

View Postcalebj, on 24 May 2011 - 09:46 AM, said:

If you just plugged my code in you wouldn't see any change. The thing that you need to change is the font name that is referenced. This means that you are going to want to switch out the default and value attribute to something that fits your needs such as the font that you linked to.


Thanks for your help!
Ok, I changed from Century Gothic to Tahoma, but nothing happens. I have done this numerous times in the past, so what me I missing?

[Variable name="bodyfont" description="Text Font"
type="font" default="normal normal 100% Tahoma, Serif" value="normal normal 100% Century Gothic, Serif"]

default="normal normal 78% 'Tahoma',Trebuchet,Arial,Verdana,Sans-serif"]
[Variable name="pagetitlefont" description="Blog Description Font"
type="font"
default="normal normal 200% Tahoma, Serif" value="normal normal 200% Century Gothic, Serif"]
[Variable name="descriptionfont" description="Blog Description Font"
type="font"
default="normal normal 78% 'Tahoma', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif"]
[Variable name="postfooterfont" description="Post Footer Font"
type="font"
default="normal normal 78% 'Tahoma', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 78% 'Century Gothic', Trebuchet, Arial, Verdana, Sans-serif"]
[Variable name="startSide" description="Side where text starts in blog language"
type="automatic" default="left" value="left"]
[Variable name="endSide" description="Side where text ends in blog language"
type="automatic" default="right" value="right"]
*/

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1