changing a theme font--CSS cascade/inheritance question

changing a theme font--CSS cascade/inheritance question

by steven lyons -
Number of replies: 0
hey all,

In my first incarnation of my Moodle course site I created a "theme" for Moodle by simply modifying the standard theme files, but now I am attempting to do it the "right" way by making a custom theme with it's own folder and files.

Question:

My theme uses the "standard" theme CSS as a base and then I am adding a sylesheet to make some changes.
I created a css file and included it by using the "sheets" line in config.php:

$THEME->sheets = array('my_theme_styles');

I have not changed the standard sheets line:

$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz');

and then in my_theme_styles.css I attempt to change the main font sitewide like this:

body{
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

Why doesn't it work? I assumed the cascade would allow my new stylesheet to override the standard styles.

Thanks.
Average of ratings: -