Customizing a Theme

Customizing a Theme

by leah wasser -
Number of replies: 3

Hi All,

I am hoping that you can assist me with a rather basic moodle theme issue. I am new to moodle and am trying to understand how to edit the CSS.

When i look at the theme settings, i see that the anomoly" theme is selected in our course. However, it has been modified.

When i use Firebug, i see the link to the theme css file is:

http://budburstacademy.org/theme/styles.php?theme=anomaly&rev=294

I tried to modify the base.css style sheet within the moodle anomoly theme however, those changes do not seem to appear on my moodle site.

i also added a custom css file (that i made)  called "CSA"

$THEME->name = 'anomaly';

$THEME->sheets = array('base', 'general', 'browser','dock','CSA');

None of my css changes seem to take. Any ideas what i am doing wrong? I am using Moodle 2.
Thank you for any direction.
Leah
Average of ratings: -
In reply to leah wasser

Re: Customizing a Theme

by leah wasser -

OOPs = i posted too soon! turns out i needed to  "purge all caches".

lesson learned.
smile

In reply to leah wasser

Re: Customizing a Theme

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

If you are editing the CSS a lot, you may find it easier to turn on "Theme designer mode".

In reply to leah wasser

Re: Customizing a Theme

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Also filenames should be lowercase letters, so CSA.css should read csa.css