How to change headers via .css?

How to change headers via .css?

Jon Kirchherr -
回帖数:2
I've been digging around for a few days, and haven't managed to stumble on the answer that I need: how can I change the font colors in the block headers and breadcrumbs? 

I've designed my own theme, though most of it points back to the .css of the  standard theme that came in Moodle  [just added a logo and a different gradient bar]. I need to make the headings and Breadcrumbs [People, Activities, etc.] white so that they show up agains the new gradient bar, but when I change the settings in standard >> styles_font.php, then ftp the new file to my server, the web pages do not display the new attributes.  Why is this not updating?

many many thanks in advance
回复Jon Kirchherr

Re: How to change headers via .css?

Urs Hunkler -
Core developers的头像

Hi Jon,

To go the save way for updates create your own theme and add your new colors there. Read in the theme documentation how to do it.

I wish you much success
Urs

回复Urs Hunkler

Re: How to change headers via .css?

Dan Sarkozy -
Hi Jon

It is possible that the browser that you are using is not flushing the cashed CSS when you refresh your page so you don's see your changes to the theme

To force a reload of the web page - hold down the SHIFT key and click on the REFRESH or RELOAD button on your browser. If you use Internet Explorer, you can also perform a "CTRL+F5" - hold down the CTRL key and push the F5 button.

Hope that helps

Dan