Change background color of primary and secondary nav bar in News theme

Community Forums Forums General Discussion Change background color of primary and secondary nav bar in News theme

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Brenda 1 year, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12121

    Brenda
    Participant
    Post count: 12

    How do you change the background color of the primary and secondary navigation bars in News theme?

    #12302

    Jared Williams
    Participant
    Post count: 47

    Try this:

    Find line 481 for your Sub Nav

    #subnav ul {
    float: left;
    width: 100%;
    }

    and add your background color. So, if you wanted white you would add:

    #subnav ul {
    float: left;
    width: 100%;
    background: #fff;
    }

    Then look at line 351 for the Primary:

    #nav {
    background: url(images/bg-dark.png);
    border-left: 1px solid #d5d5d5;
    border-right: 1px solid #d5d5d5;
    clear: both;
    color: #fff;
    font-family: 'Oswald', arial, serif;
    margin: 0 auto;
    overflow: hidden;
    text-transform: uppercase;
    width: 960px;
    }

    Replace the background elements with the color or image that you would like.

    Hope this helps


    #18822

    Brenda
    Participant
    Post count: 12

    Thank you so much, Jared!! That worked! :-)

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

You must be logged in to reply to this topic.