Log in

View Full Version : menu not centered



dustnbones
11-12-2010, 05:40 PM
I have another problem. After changing the 'home' link on the menu the link appears at the top of the menu instead of centered. I'm using the jquery multi level css menu #2 and my problem is in the link below. Any idea please how to resolve this as the I need then link to center as per the other links.
Thanks very much for any help.

http://www.sunridgegraphics.co.uk/mac

Nile
11-12-2010, 08:55 PM
Add this to your CSS:


.jqueryslidemenu ul li.selected {
display: block;
background: #414141; /*background of tabs (default state)*/
color: white;
padding: 8px 10px;
border-right: 1px solid #778;
}


And then use a menu item like this:


<li class="selected">Lorem ipsum</li>

dustnbones
11-12-2010, 09:16 PM
Thanks Nile. Got it sussed now. Cheers.

Nile
11-12-2010, 09:41 PM
No problem, I'm glad to help :D

Here on DD, we like to keep things organized. In an effort to do so, you have the option to set a thread to resolved when an issue is fixed. To make the status of the thread resolved:
1. Go to your first post
2. Edit your first post
3. Click "Go Advanced"
4. In the dropdown next to the title, select "RESOLVED"