How to change header theme font size in Cornflower theme ??

How to change header theme font size in Cornflower theme ??

by Jason Hollowell -
Number of replies: 13
Picture of Particularly helpful Moodlers
Hello,

I looked around this forum for this information and found some things that were close but not exactly what I am looking for.

I really like the Cornflower theme but when I go to "Site Settings" when I'm logged in as Admin and type in the name of my site in the "Full Site Name" field, the site name shows up in Cornflower as really small text. If I switch to a different theme (Metal etc.) the Full Site Name is nice and big.

I tried editing the font size through the file located in the Cornflower theme called:

styles_fonts.css

but nothing changed?? Maybe I edited the wrong line?

If anyone has any experience with changing the font size on the main header for this theme I would greatly appreciate your help.

Sincerely

Jason
Average of ratings: -
In reply to Jason Hollowell

Re: How to change header theme font size in Cornflower theme ??

by Jeffery Watkins -
Jason,

In the styles_font.css file look for the .headermain tag and add your font size there.

Example:

.headermain {
  font-size:36px;
  font-weight:bold;

}

That should do it.

Jeff
In reply to Jeffery Watkins

Re: How to change header theme font size in Cornflower theme ??

by Jason Hollowell -
Picture of Particularly helpful Moodlers
Jeff,

Thanks so much for the help. I made the changes (I think I did it right?) but unfortunately nothing changed when I refreshed my browser after uploading the new php file. Do I need to make changes to the other 'header' related items that appear below the .headermain item? (here they are from my file):

.headermain {
font-size:36px;
font-weight:bold;
}

#header-home .headermain {
font-size:1.5em;
}

#header .headermain {
font-size:1.3em;
}
In reply to Jason Hollowell

Re: How to change header theme font size in Cornflower theme ??

by montse gibert -
exactly which text do you want to change?

the one that says "you are logged..."??

so i can help you better.

m
In reply to Jason Hollowell

Re: How to change header theme font size in Cornflower theme ??

by Jeffery Watkins -
Change this:
#header-home .headermain {
font-size:1.5em;
}

to this:

#header-home {
font-size:1.5em;
}

Jeff
In reply to Jeffery Watkins

Re: How to change header theme font size in Cornflower theme ??

by Jason Hollowell -
Picture of Particularly helpful Moodlers
Jeff,

Thanks again. I tried that but for some reason it does not seem to have made a change.

I don't know if this is related or not but I checked my error logs through cpannel and find the following error ocurring over and over corresponding with the times that I am working on my Moodle site:

[Fri Oct 21 06:53:15 2005] [error] [client 211.133.222.24] File does not exist: /home/kokoroex/public_html/404.shtml
[Fri Oct 21 06:53:15 2005] [error] [client 211.133.222.24] File does not exist: /home/kokoroex/public_html/moodle/theme/cornflower/images/sideblock.jpg
In reply to Jason Hollowell

Re: How to change header theme font size in Cornflower theme ??

by Jeffery Watkins -
Jason,

Can you e-mail me your site address and I will look at it.

Jeff
In reply to Jeffery Watkins

Re: How to change header theme font size in Cornflower theme ??

by Jason Hollowell -
Picture of Particularly helpful Moodlers
Jeff,

Thanks, yes here is my web site:

www.kokoroexchange.com/moodle

Jason
In reply to Jason Hollowell

Re: How to change header theme font size in Cornflower theme ??

by Jeffery Watkins -
Jason,

The fron page of the site looked fine.  Other pages had the smaller header text.  If that is what you want to be large also, use the attached header.html file.  Just replace the one your using with this one.

Jeff
In reply to Jeffery Watkins

Re: How to change header theme font size in Cornflower theme ??

by Jason Hollowell -
Picture of Particularly helpful Moodlers
Jeff,

Thanks a million. I just realized this morning that my changes had actually taken affect when I logged onto my site with a different computer. Guess I need to clear the cache on my browser. I'll use the file you have attached for the other pages.

Thanks again smile
In reply to Jason Hollowell

Re: How to change header theme font size in Cornflower theme ??

by montse gibert -
jason,
maybe the problem is in your header.
i will show you my thml header.
i'm starting with all this... so i hope this is some help


i always put my header in a table to so my code looks more neat.
look where it says
class="headermain"
maybe playing around you erased that.
(i'm not sure if this is what you need....)

another thing is the
.clearer
sometimes makes trouble with the rest of css....

try to do something different for a while, like going for a walk,
when you come back things are always different.

m
In reply to montse gibert

Re: How to change header theme font size in Cornflower theme ??

by Jason Hollowell -
Picture of Particularly helpful Moodlers
Montse,

Thanks for the help (and great advice) smile Sometimes I"ll spend hours trying to figure something out and then finally give up for the day and figure it out while I'm riding my bike the next day smile

I'm very much of a beginner with css, php, and even html so much of this is new to me but I love to learn new things and everyone's friendly help here at moodle.org is really helping.

Thanks smile
In reply to Jason Hollowell

Re: How to change header theme font size in Cornflower theme ??

by montse gibert -
jason

i forgot another thing yo can do

do your own css
and write it on the header.html

. myownheader font {
14px
{


?¿

m