WordPress.org

Support

Support » How-To and Troubleshooting » How do I make navigation links bold?

How do I make navigation links bold?

  • http://www.velocityxperts.net/

    So this is probably a no-brainer for most of you, but I’m basically a stark beginner and I would love any help I could get. I know I need to add something to the CSS, but I’m just not sure what to add or where to add it. I found this from a similar forum question:

    .nav a {
    font-weight: bold;
    }

    Simple enough, but I’m just not sure where to put it! At the bottom, or in with the rest of the navigation stuff? I tried it at the bottom but nothing changed.

    I would also love to change the color of the links to red, any insights to this would be much appreciated! Thanks so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • In style css look for this codes
    #navigation li {
    display: block;
    float: left;
    margin: 0 15px 0 0;
    padding: 6px 0 7px;
    position: relative;
    }
    #navigation .menu-item a {
    display: block;

    }

    If change to bold by adding
    font-weight: bold;
    in
    #navigation .menu-item a

    your last item drops to 2nd line to make it stay in same line
    you will need change margin in
    margin: 0 15px 0 0;
    to say 8px

    Thank you so much! This worked like a charm.

    You are welcome

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I make navigation links bold?’ is closed to new replies.
Skip to toolbar