Order of stylesheets

Events happening in the community are now at Drupal community events on www.drupal.org.
Noe_'s picture

Hi,

I have a subtheme of the omega html5 starterkit. But now when I want to override for example the <a> tag, I go to /css/global.css in my subtheme and put the style for the a-tag in there.

Then I clear my caches and refresh, and it appears that my a-tag is overridden by omega-text.css.
How can this be, because I would expect my own template to have preference over the base theme's css.

Oh, and more importantly hor can I override the subtheme without putting !important to every style.

Comments

You are right, I had to style

Noe_'s picture

You are right, I had to style a, a:visited, a:active, a:link.
While I was under the impression that 'a' would be any 'a' and then you could style a:active for more specific styling.

Well thanks for helping me out :D

My pleasure.

friendlymachine's picture

My pleasure.

John Hannah
Friendly Machine

Omega Framework

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: