Closed (works as designed)
Project:
Zen
Version:
6.x-2.x-dev
Component:
CSS/HTML markup
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Mar 2011 at 09:19 UTC
Updated:
26 Apr 2011 at 09:38 UTC
I'm not sure if this is a bug o a feature :P.
During some time I have been trying to override a CSS style assigned to a menu item...
Drupal themes seems to be fully CSS . And with out this line, i can't customize some of my styles.
With out this line (in MYTHEME.info):
stylesheets[all][] = system-menus.css
Styles in menus are overridden by drupal core system-menus.css
If i add this line (in MYTHEME.info):
stylesheets[all][] = system-menus.css
I'm able to override this properties.
Comments
Comment #1
prajaktam commentedHello,
It is not a bug. It is a default drupal behaviour. If you want to override the system-menus.css then you can add your styling in the custom css file also. For eg: your-style.css.
Then include this file in the theme's info file.
stylesheets[all][] = your-style.css Or you can do it in a way you mentioned above.
Thanks
Prajakta
Comment #2
Tor Arne Thune commentedComment #3
frizi_ commentedThe advice from prajaktam helped me to. I had to add stylesheets[all][] = system-menus.css in the .info file of my theme to change certain visual setting of the primary links menu.