Using Moodle 2.4 on a local WAMP server. I'm attempting to become a moodler. I have created a clone of Formal White and called it Ynot 01 and have discovered something I don't understand.
The navbar css changes that I have inserted into ynot_01.css are being over-ruled by the parent formal_white.css. Although my knowledge of css is fairly fundamental I was under the impression that the last rule to be invoked took precedence.
To illustrate the problem I doubled the height of the navbar to 60px.
I believe the beige bar on top is the bg_bread image invoked by formal white. Here's the css code from formal white
.navbar {width:auto;background-image:url([[pix:theme|bg_bread]]);background-repeat:repeat-x;line-height:29px;} /* 30 pixel is the height if bg_bread */
I deleted the reference to the background image, changed the colour and increased the height. Here's the css code from ynot_01.css
.navbar {width:auto;background-color:#084b8a;line-height:60px;}
The only change that has been invoked is the height change.
I have theme designer mode enabled.
Before I spend any more time trying to customise this theme I would like to understand what is happening. Can someone please help. What am I missing?