• 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

nav bar like in daily dish pro theme

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 › nav bar like in daily dish pro theme

This topic is: not resolved
  • This topic has 3 replies, 3 voices, and was last updated 10 years, 9 months ago by DTHkelly.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 25, 2014 at 10:43 am #125686
    Chrys
    Member

    Hi,

    I'm really eager to learn how to do things and I'd like to make a nav bar like the one on the studiopress theme daily dish pro.
    The double border is okay. My problem is make the navbar looks shorter than the page.
    I don't know if I have to deal with margins, paddings or the wraps. I feel lost here even if I have downloaded the theme to look at the stylesheet... I don't know what I have to look for to get the same result.
    If anyone has an idea?

    https://www.dropbox.com/s/lscm5at6sq2ebgq/nav%20menu%20short.jpg?dl=0

    Thanks.

    September 25, 2014 at 12:04 pm #125694
    cwalsh
    Member

    It's not that the navbar is shorter than the page width, it's centered in that space. This is what makes it centered, text-align: center;

    .genesis-nav-menu {
    clear: both;
    line-height: 1;
    text-align: center;
    width: 100%;
    }

    Need website customization services or other help? Caley @ PixelPerfect Design Studio | Connect with me on Twitter: @pixelsperfect | Like me on Facebook: https://www.facebook.com/PixelPerfectDesignStudio

    September 26, 2014 at 10:34 am #125829
    Chrys
    Member

    Hi,

    Thanks for that. I understand what you mean but maybe I should rephrase my question..If I wanted to do the same effect but starting with genesis sample. Where should I look first? Because if I put the code you gave me, it put the text of the nav bar in the middle but the nav bar is still from one end to the other...
    That's where my problem is..I cannot determine what I have to work on..

    Thanks a lot

    Chrys

    September 26, 2014 at 11:34 am #125836
    DTHkelly
    Member

    Daily Dish Pro CSS:

    In the style.css code for the theme, this particular piece of code is displaying the grey lines at the top:

    .nav-primary {
        border-bottom: medium double #ddd;
        border-top: medium double #ddd;
    }
  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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