CSS footer menu question...

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
HooverDST

CSS footer menu question...

Post by HooverDST »

This might sound like an easy problem to solve but I've checked the forums and couldn't find an answer:

I have included a horizontal footer menu in an unordered list format to a site I'm working on and it uses the {menu} tag so it's all dynamic.

What I want to do is remove the left hand side border (or seperator) on the first list item of the menu.  Usually this is done in the style sheet with something like;

Code: Select all

#footer ul li.first {
	margin-left: 0;
	border-left: none;
	list-style: none;
	display: inline;
	}
But since this is using the {menu} tag to display, how do I add a class to the first list item?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS footer menu question...

Post by Dr.CSS »

The way I do it, it will add classes to all the menu items but you just pick out the ones you want...

http://www.multiintech.com/index.php/imap1.html

second block down is the menu manager template, to be copy/pasted into a new menu template for the menu...

Another site that uses the same type of class calls to color individual menu items... look under Products...

http://blueoakom.com/
Locked

Return to “Layout and Design (CSS & HTML)”