• 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

Keeping Nav Bar flush with image at header

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 › Keeping Nav Bar flush with image at header

This topic is: resolved

Tagged: nav bar styling

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 7 months ago by sethbahookey.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 25, 2015 at 8:12 am #149119
    sethbahookey
    Member

    Hey everyone!

    So I'm getting close to finallllyyyy finishing this site 🙂 Studiopress has this neat tool that allows you to look at your site in different screen sizes and I'm a little stuck as to figuring out "best practice" for a styling issue.

    If you pull up the site thecompressioncloset.com, go ahead and make the width smaller. You'll notice that the nav bar just moves down and away from the logo/main image at top.

    How would I make it so it is consistently flush with that top image? Would I use some JS? or is there some kind of CSS I could use? or do I literally have to create a bazillion media queries changing the margin-top each time (that's what I did to make it flush btw.. margin-top{ -8%;} <- probably not best practice to begin with, but I wasn't sure what to do.

    Thanks for the advice

    http://thecompressioncloset.com
    May 9, 2015 at 7:27 pm #151365
    SavvyJackie
    Member

    Hi - I am not seeing your issue on your site. Has it been resolved?


    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

    May 10, 2015 at 7:30 am #151444
    sethbahookey
    Member

    Hey Savvy,

    Thanks for taking a look at my post! I ended up redoing the design slightly on the front page to keep that pesky brown bar flush with the picture 🙂

    I'll mark it as resolved!

    Regards,
    Seth

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

© 2025 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