pette
pette

Reputation: 87

list style menu wordpress style css

I loaded directly link to display the menu. This menu is organized force-lists because it is a wordpress menu levels and sublevels. Unfortunately, as you can see at the end of the sublayer have a double line. the effect should be like the first where the link is in two rows. Can you give me a hint?

http://www.circuitosanmartinodellago.com/test/index.html

Upvotes: 0

Views: 180

Answers (2)

matt
matt

Reputation: 1025

So is this being used in wordpress? If thats the case you can apply CSS elements to individual menu items, which wordpress generates by default, which should solve this issue. Just apply your own custom style to that one navigation item such as #menu-item-1.

Upvotes: 0

MikeM
MikeM

Reputation: 27405

You can use CSS3's :last-child pseudo-class

#menu-main-menu li:last-child {border-bottom:none;}

support is good (IE 7/8 not included) http://caniuse.com/#search=last-child

Upvotes: 1

Related Questions