WordPress.org

Ready to get started?Download WordPress

Forums

How do I make navigation links bold? (4 posts)

  1. rebekahnydam
    Member
    Posted 2 years ago #

    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!

  2. govpatel
    Member
    Posted 2 years ago #

    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

  3. rebekahnydam
    Member
    Posted 2 years ago #

    Thank you so much! This worked like a charm.

  4. govpatel
    Member
    Posted 2 years ago #

    You are welcome

Topic Closed

This topic has been closed to new replies.

About this Topic