• 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

Navigation Alignment Problem in Custom 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 › Navigation Alignment Problem in Custom Theme

This topic is: not resolved
  • This topic has 8 replies, 3 voices, and was last updated 11 years, 10 months ago by Sridhar Katakam.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • August 25, 2014 at 9:30 am #120916
    yardle
    Participant

    Hi all,

    I'm working on a custom theme (started from the standard Genesis framework theme) and am having trouble positioning my primary navigation div.

    URL: http://development3.jamesyardley.com

    I'd like it to be floated to the left but it seems like another element is in the way, pushing it too far right. I've inspected with developer tools and can't seem to figure out what's going on.

    Your help is greatly appreciated! Thanks!!!

    James

    http://development3.jamesyardley.com
    August 25, 2014 at 9:38 am #120920
    Brad Dalton
    Participant

    You may want to consider using a new HTML 5 theme

    This is the correct way to center the header image

    The way its been done in your theme effects other header elements plus its not mobile responsive.

    Generally, all you need to do is align: left or right the nav menu.


    Tutorials for StudioPress Themes.

    August 25, 2014 at 10:06 am #120927
    yardle
    Participant

    Thank you so much for the helpful response, Brad!

    I implemented the 2nd solution from your post and am happy to see that it's already more mobile responsive than what I had (I was going to tackle that problem later).

    When you suggest using a new HTML 5 theme, will that accomplish something different than adding this to my functions.php?

    //* Add HTML5 markup structure
    add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) );

    Also, I'm still in need of some help getting my navigation where it needs to be. I'm trying to duplicate this: http://adirondackcreamery.com

    If there's a way to position the Site Description using CSS like it is on the live site, that would help me out a lot too.

    Thanks again for the help! I can't even begin to describe how awesome this forum is.

    James

    August 25, 2014 at 10:17 am #120931
    Brad Dalton
    Participant

    HTML 5 validates better than XHTML so if that's what you're using then great, if not convert or use a Pro theme as they're the best coded.

    The problem i see is in the existing CSS


    Tutorials for StudioPress Themes.

    August 26, 2014 at 1:17 pm #121180
    yardle
    Participant

    Thanks again, Brad, for the helpful response.

    I have no doubt that the problem is in the existing CSS. I just don't know CSS as well as I would like to and have basically learned most of what I know from helpful folks like yourself and troubleshooting my way through problems like this one.

    I'm trying to duplicate the current live site: http://adirondackcreamery.com

    The development site is: http://development3.jamesyardley.com

    The nav.nav-primary div is outside the div.title-area at the moment. I'm not sure if I need to hook it inside that div somehow or if all my markup in place to accomplish the task with CSS?

    James

    August 29, 2014 at 12:58 am #121642
    Brad Dalton
    Participant

    Not far off.


    Tutorials for StudioPress Themes.

    August 29, 2014 at 3:24 am #121653
    Sridhar Katakam
    Participant

    http://sridharkatakam.com/split-navigation-menu-genesis-using-wp-nav-plus/


    Genesis Tutorials | Follow me on Twitter

    September 2, 2014 at 2:07 pm #122474
    yardle
    Participant

    Hi Sridhar,

    Your tutorial was immensely helpful. Thank you so much!

    Is there something I can do to get my logo perfectly centered? It's close but not quite, and my background image dictates that it be right on.

    If there's something I can do for the background image to be centered on mobile that would be very helpful as well.

    URL: http://development3.jamesyardley.com

    Thanks!

    James

    September 2, 2014 at 10:52 pm #122522
    Sridhar Katakam
    Participant

    That is not easy/possible afaik.

    You could make the background fit the available width using

    @media only screen and (max-width: 568px) {
    
    	.site-container {
    		background-size: contain;
    	}
    
    }

    but that won't do what you are asking.

    You might want to consider replacing the background shell.png with a solid light blue color at lower widths.


    Genesis Tutorials | Follow me on Twitter

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

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