Posted by hammiesink on April 11, 2009 at 3:36pm
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
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.