View Full Version : change BG color of sub menu tab
kennyd
03-01-2011, 06:40 PM
1) Script Title: Smooth Navigational Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Describe problem: I'd like to change the background color of the submenu tab only.
azoomer
03-01-2011, 07:39 PM
try this
/* Sub level menu links style */
.ddsmoothmenu ul li ul li a{
font: normal 13px Verdana;
width: 160px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
background: orange;
}
kennyd
03-01-2011, 09:48 PM
i'm using the vertical menu (ddsmoothmenu-v.css)
tried adding "background:color;" to the below section. however it's not working.
/*Sub level menu items */
.ddsmoothmenu-v ul li ul{
position: absolute;
width: 190px; /*Sub Menu Items width */
top: 0;
font-weight: normal;
visibility: hidden;
}
azoomer
03-01-2011, 10:17 PM
I think this could do it in the vertical menu
.ddsmoothmenu-v ul li ul li a {
background: red !important;
}
kennyd
03-01-2011, 11:15 PM
That did the trick.....thanks a bunch.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.