Results 1 to 4 of 4

Thread: Change font in All Levels Navigational Menu

  1. #1
    Join Date
    Nov 2006
    Location
    Whitehorse, Yukon
    Posts
    19
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Change font in All Levels Navigational Menu

    1) Script Title: All Levels Navigational Menu

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...menu/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
    Last edited by Snookerman; 05-08-2009 at 06:49 PM. Reason: added “Resolved” prefix

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Find this piece of code in your ddlevelsmenu-base.css file and change the highlighted to the font you want:
    Code:
    .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!
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The CSS for the sub menus are defined inside ddlevelsmenu-base.css. So changing the line in red below should do it:

    Code:
    .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;
    }
    DD Admin

  4. The Following User Says Thank You to ddadmin For This Useful Post:

    Yukoner (03-26-2009)

  5. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Ops nevermind, Snooker beat me to it.
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •