PDA

View Full Version : Resolved Change font in All Levels Navigational Menu



Yukoner
03-26-2009, 04:28 AM
1) Script Title: All Levels Navigational Menu

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

3) Describe problem:
Second...and hopefully the last question on this script. How can I change the font in the sub-menus to Comic Sans MS ? I've tried everything I know :)

Snookerman
03-26-2009, 06:39 AM
Find this piece of code in your ddlevelsmenu-base.css file and change the highlighted to the font you want:

.ddsubmenustyle, .ddsubmenustyle ul{
font: normal 13px Verdana;
margin: 0;
padding: 0;
position: absolute;
left: 0;
top: 0;
list-style-type: none;
background: white;
border: 1px solid black;
border-bottom-width: 0;
visibility: hidden;
z-index: 100;
}


Good luck!

ddadmin
03-26-2009, 06:44 AM
The CSS for the sub menus are defined inside ddlevelsmenu-base.css. So changing the line in red below should do it:


.ddsubmenustyle, .ddsubmenustyle ul{ /*topmost and sub ULs, respectively*/
font: normal 13px Verdana;
margin: 0;
padding: 0;
position: absolute;
left: 0;
top: 0;
list-style-type: none;
background: white;
border: 1px solid black;
border-bottom-width: 0;
visibility: hidden;
z-index: 100;
}

ddadmin
03-26-2009, 06:44 AM
Ops nevermind, Snooker beat me to it. :)