View Full Version : how do I change submenus on the :: Smooth Navigational Menu (v2.1)

12-05-2013, 06:50 PM
1) Script Title: Smooth Navigational Menu (v2.1)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm

3) Describe problem: I would like to change the background color on the submenus of the Smooth Navigational Menu but I'm having trouble finding where in the script you change the background just for the submenus without affecting the main menu.

Please let me know how this can be done.


12-15-2013, 08:47 AM
You should change the color in css file
For horizontal ddsmoothmenu.css.

font: bold 12px Verdana;
background: #e6e6e6; /*background of menu bar (default state)*/
width: 600px;;

.ddsmoothmenu ul li a{
display: block;
background: #e6e6e6; /*background of menu items (default state)*/
color: #316e9b;
padding: 8px 10px;
border-right: 1px solid #778;
color: #c0c0c0;
text-decoration: none;

.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{
color: #1f6289;

.ddsmoothmenu ul li a.selected { /*CSS class that's dynamically added to the currently active menu items' LI A element*/
background: #808080 !important;
color: white;

.ddsmoothmenu ul li a:hover{
background: #808080; /*background of menu items during onmouseover (hover state)*/
color: white;