• 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

Lifestyle – change color of Subnav and move down

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 › Lifestyle – change color of Subnav and move down

This topic is: not resolved

Tagged: color, Spacing, subnav

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 4 months ago by bmaven.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 22, 2013 at 8:35 am #42197
    kupah
    Member

    I would like to change the background color of my subnav bar. I tried to change the 'subnav.png' file but it did nothing. How can I change the color from the default white/gray?

    Is there a way to put a space between it and the header. It constantly cuts off the bottom of the header, no matter what height I make it.

    url: http://www.ezratachim.com

    thanks

    Gary

    http://www.ezratachim.com
    June 3, 2013 at 9:58 pm #43966
    bmaven
    Member

    Hi Gary,

    Line #578 of your CSS has the code for the background color of the subnav bar. Right now it's reading the subnav.png file. You could change this to a solid color by erasing the "background" line and adding another line:

    #subnav {
    background-color: #333333;
    }

    #333333 would give you an almost black color, but substitute that hex code with whichever color you'd want.

    For the header height, you need to go into functions.php and look for this code:

    /** Add support for custom header */
    add_theme_support( 'genesis-custom-header', array( 'width' => 920, 'height' => 170 ) );

    Change the 170 to fit the height of your header - maybe 180 or so? Then I believe you'd need to reupload the header image.

    Hope this helps!
    Jeni


    Blogging growth strategist & revenue coach at The Blog Maven, fearless leader of 3 preschoolers…tweeting it up @theblogmaven

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and 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