Header Font Drama

Everything to do with Joomla! 1.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Locked
Dionnew9
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Jun 02, 2011 4:34 pm

Header Font Drama

Post by Dionnew9 » Thu Jun 02, 2011 4:59 pm

I'm a newby and I tried very hard to figure this out, but I couldn't find anything that spoke specifically to my issue:

I want to change the font of the logo in Cloudy (1.5) but try as I might, I can't change the font. I've successfully changed the location and font decoration in CSS but when I add font family code, the template just ignores it. Nothing changes.

This is where I've been trying to do it:

/* Logo Text ---*/
div.logo-text { margin-top: 8px; }

div.logo-text h1 a {
color: #878787;
font-weight: bold;
letter-spacing: 1px;
text-decoration: none;
}

p.site-slogan {
background: #2da1e1;
color: #FFFFFF;
display: block;
font-size: 85%;
letter-spacing: 1px;
margin: 8px 0 0;
padding: 0 5px;
text-align: center;
}

User avatar
GandalfGrey
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Tue Mar 25, 2008 8:18 pm
Location: Sweden / Haninge

Re: Header Font Drama

Post by GandalfGrey » Thu Jun 02, 2011 9:29 pm

Do you have a link to the page?
“We can't solve problems by using the same kind of thinking we used when we created them."

Dionnew9
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Jun 02, 2011 4:34 pm

Re: Header Font Drama

Post by Dionnew9 » Thu Jun 02, 2011 9:31 pm

sure:

http://roundedgesdc.cloudaccess.net

Any help is appreciated!

User avatar
GandalfGrey
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Tue Mar 25, 2008 8:18 pm
Location: Sweden / Haninge

Re: Header Font Drama

Post by GandalfGrey » Thu Jun 02, 2011 9:44 pm

When i add font-family in the div.logo-text h1 a rule i get a response.
“We can't solve problems by using the same kind of thinking we used when we created them."

sunsterv
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Sun Mar 15, 2009 2:42 pm

Re: Header Font Drama

Post by sunsterv » Thu Jun 02, 2011 9:48 pm

Hi there,

well I'm a sort of newbie too. Firstly, you should use firefox and instal the firebug plug in. Take some time to read how to use it as you WILL need it whilst making joomla sites. Essentially it allows you to click around your webpage and will indicate which of joomla's css files are creating the styles. Remarkably, you can then type in different values in the firebug window and get a live update on the changes you've just made... they're not real, if you refresh it will go back to normal so you'll still have to go through the css files and upload your changes as normal afterwards.

By doing this I can see that the logo size is styled by your template.css file with the following code...

h1.logo, div.logo-text h1 {
font-size:150%;
line-height:1;
}

and the font family is styled also by the template.css file with the following code

.contentheading, .componentheading, h1, h2, h3, h4, h5 {
font-family:georgia;
font-weight:normal;
line-height:1.2;
}

now on your css file you'll see the font-size as 250% and the font family as arial, helvetica - I changed these in firebug to make sure I was looking at the right thing.

If you're wanting to change the font ONLY for the logo then you need to ignore the second css style, but on the first change it to:

h1.logo, div.logo-text h1 {
font-size:150%;
font-family: trebuchet;
line-height:1;
}
... where you can change the font to whatever you want - this is specifically for the logo text.

Hope I've got that right and hope it helps,

Sunsterv

Dionnew9
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Jun 02, 2011 4:34 pm

Re: Header Font Drama

Post by Dionnew9 » Thu Jun 02, 2011 10:31 pm

I'll try that firebug deal - I've screwed around with font-family in the div.logo-text h1 a rule and it was non responsive.

I'm not sure what was going on though because I actually put the site down, came back and suddenly my entire header was gone lmao I had cut and pasted the entire template code in a document before I made any changes; I just reclipped the header section and all was better.

So maybe something weird was happening today. I will give these suggestions a try.

Dionnew9
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Jun 02, 2011 4:34 pm

Re: Header Font Drama

Post by Dionnew9 » Fri Jun 03, 2011 4:06 am

Hey thanks - I tried it and after I changed to serif, I saw results. Thanks!

Now if only I could change the color lol Never satisfied :)

User avatar
GandalfGrey
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Tue Mar 25, 2008 8:18 pm
Location: Sweden / Haninge

Re: Header Font Drama

Post by GandalfGrey » Fri Jun 03, 2011 11:17 am

Look in the file templates/cloudy/css/colors/blue.css and you will find this css rule

Code: Select all

div.logo-text h1 a {
    color: #1181AA;
}
“We can't solve problems by using the same kind of thinking we used when we created them."


Locked

Return to “Templates for Joomla! 1.5”