• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Changing background color of secondary navigation

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Changing background color of secondary navigation

This topic is: resolved

Tagged: background color, Secondary Navigation

  • This topic has 4 replies, 3 voices, and was last updated 3 years, 5 months ago by EightWheels.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 5, 2020 at 4:47 pm #497745
    EightWheels
    Participant

    Another question that should be simple but despite searching and trial and error I couldn't find an answer…

    I'm trying to change the background color of the secondary navigation bar from white to #f5f5f5 in Magazine Pro. Where/How do I do that?

    Bob

    https://eightwheelsacrossamerica.com/eaa/
    April 7, 2020 at 8:42 pm #497822
    sangfroidweb
    Participant

    Hi there!
    You can edit line 1421 of the stylesheet to add the background color you want (background-color: #f5f5f5;) to the secondary nav 'wrap'--- so that line 1421 will read:

    .nav-secondary .wrap {
    background-color: #f5f5f5;
    border-bottom: 1px solid #222;
    }

    Or, if you are not working directly in the stylesheet, but are using the Additional CSS box, then you can add this to the Additional CSS box:

    .nav-secondary .wrap {
    background-color: #f5f5f5;
    }

    Hope that helps!
    Liz


    Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂

    April 8, 2020 at 2:31 pm #497839
    EightWheels
    Participant

    Thank you so much, Liz!! That's exactly what I wanted, and it works perfectly -- I added it to the Additional CSS box. Despite looking for hours, I couldn't find that "nav-secondary .wrap" command, and that's what I was missing!

    Bob

    April 8, 2020 at 2:46 pm #497840
    Anita
    Keymaster

    I was going to recommend you add it to the Additional CSS box @eightwheels. This way if you need to restore the original stylesheet, your customizations are not in there.


    Love coffee, chocolate and my Bella!

    April 9, 2020 at 1:24 am #497847
    EightWheels
    Participant

    Thanks, Anita, that's exactly what I did. You taught me that trick on a previous question you answered for me. 🙂

    Bob

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Changing background color of secondary navigation’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble