Home Forums Mu Theme Discussion & Support Changing Dropdown menu font and color

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  themeweaver 4 years, 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #3119

    Stacy Tebbutt
    Member
    Post count: 3

    Hi,

    I would like to change the characteristics of the font for the dropdown menu and just wanted to narrow down the code lines.

    Thanks

    #3120

    themeweaver
    Keymaster
    Post count: 730

    For urban style this is the current font style:

    #catnav {
    font-family: Georgia,Times,”Times New Roman”,serif;
    font-size: 18px;
    line-height: 30px;
    }

    and other stuff will be governed by statements like:

    .dropnav li a:link, .dropnav li a:visited {
    color: #7B7460;
    padding: 10px 20px 10px 5px;
    text-decoration: none;
    }

    #3123

    Stacy Tebbutt
    Member
    Post count: 3

    Thanks. Here’s what I have for the current line of code. The rest of my page is in Verdana and I would like to change the Drop Menu font to Verdana, but when I make the change, it stays as Times New Roman. Is there something else I need to change elsewhere?

    Thanks again.

    .#catnav {clear:both;
    /*float: left !important;*/
    margin: 15px 0px 0px 0px;
    position:absolute;
    top:80px;
    left:0px;
    z-index:1;
    height:30px;
    font-family: Georgia, Times, “Verdana”, serif;
    font-size: 18px;line-height:30px;}

    #3124

    Stacy Tebbutt
    Member
    Post count: 3

    Nevermind everyone, I got it. Just realized I needed to include Verdana in the font family line like this:

    font-family: Verdana, Georgia, Times, “Verdana”, serif;

    Thanks again.

    #3125

    themeweaver
    Keymaster
    Post count: 730

    But Verdana is nothing like Georgia, so this font family doesn’t make sense.

    In case you didn’t know, the fonts defined in the font-family are a list of possibles and the browser will use the first one it finds on any system. So computers without the verdana font will end up with Georgia, users without Georgia will get Times etc etc.

    So if you want verdana as your primary goal, a better font family would be:

    font-family: Verdana, Helvetica, Arial, sans-serif;

    i.e a set of sans-serif type fonts.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.