Standard way of overriding core menu CSS?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
hammiesink's picture

This seems to be a constant issue that I have never gotten a straight answer from.

I create a site in HTML/CSS, and convert it to Drupal.

I put "print $styles" in the head.

Then, the core system-menus.css cascades down and dumps bullet points and padding and other stuff and screws up my carefully designed menu.

So i always end up just using $directory to link directly to my stylesheet, but of course this then excludes important module CSS and so forth.

So how do I get it to exclude JUST the system-menus.css file?

And how do some themes seem to turn off the "leaf" "expanded" etc classes altogether so they don't even show up in the final HTML source?

Comments

If this is for a Drupal 6

isanchez-gdo's picture

If this is for a Drupal 6 site why don't you just copy the system-menus.css file and add the style sheet to your info file, dump the cache and then go to town editing the CSS. Also, this might help, http://api.drupal.org/api/group/menu/6 to explain the menu system or you could try overriding the theme function see http://api.drupal.org/api/function/theme_menu_item.

LA Drupal [Los Angeles Drupal]

Group notifications

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

Hot content this week