using theme marvin w2k phptemplate and drupal 4.6

If I remove the style sheet style.css, the menu's still have styled bullets - I don't want these! I tried this css:

ul li {
list-style: none;
}

but they are still there!

Comments

micha_1977’s picture

and remember the css cascade rules + there is always the drupal.css
another look into the generated html source will reveal the used classes and id's...

to make it short =)
your "ul li" is not specific enough and will be beaten by "li.expanded" and etc. for my own theme dev i used something like

	/* ----------- DRUPAL OVERRIDE */
#mysidebar li.expanded {
	list-style-image: none;
	list-style-type: none;
}
#mysidebar li.collapsed {
	list-style-image: none;
	list-style-type: none;
}
#mysidebar li.leaf {
	list-style-image: none;
	list-style-type: none;	
}

-micha
work in progress with Drupal 4.6: langmi.de

tmj2k7’s picture

I know it has been awhile since you posted this....you are a hero :)

www.thelinuxuser.com

nimzie’s picture

I totally second that. After listening to my designer screaming that "DRUPAL WON"T LISTEN" (and chuckling about it), I'm elated to have found this solution.

bookmarked!

glipgh’s picture

Dear Micha
Your solution is working thank you very much.

glipgh from Sri Lanka