• 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

Make Navigation Sub Menu Align to Left of Parent.

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 › General Discussion › Make Navigation Sub Menu Align to Left of Parent.

This topic is: not resolved

Tagged: Navigation sub-menu

  • This topic has 4 replies, 3 voices, and was last updated 8 years, 9 months ago by JeffCl.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 13, 2016 at 7:12 am #191214
    JeffCl
    Member

    Right now my dropdown submenu's align their left edge to the left edge of their parent, and so stick out of the right side below when their containing text is longer than their parents..

    I would like to reverse this.

    I want the right edge of the sub menu to align to the right edge of it's parent above.

    Can someone give me some pointers please, thanks

    Jeff

    https://69th-dept.com/
    August 16, 2016 at 2:12 am #191361
    Sridhar Katakam
    Participant

    Try adding this CSS:

    .site-header .sub-menu {
    	border-top: none;
    }
    
    .genesis-nav-menu .sub-menu a {
    	left: -85px;
    	border-top: 1px solid #eee;
    }

    You may want to go through http://keypresswp.com/custom-menu-flyouts-in-studiopress-news-pro/.


    Genesis Tutorials | Follow me on Twitter

    August 16, 2016 at 3:54 am #191369
    JeffCl
    Member

    Hi Sridar,

    Thanks very much for that help, and the link, very useful. I should really have been using specific css for my menus and submenus.

    A small problem I'm having now, after altering the css as above, is that when the Submenu appears, the left half renders first then the right half a second later.

    Is there anyway to remedy this?

    Thanks again.

    October 12, 2016 at 7:36 am #194581
    tomatillodesign
    Member

    I was having this problem too. Here's what I came up with:

    1) Add the CSS class of "menu-right" to the last top-level item in the main menu.

    2) Add this CSS:

    .genesis-nav-menu .menu-right:hover > .sub-menu {
    	right: 280px;
    }
    October 14, 2016 at 4:48 am #194697
    JeffCl
    Member

    Hey Tomatillo

    Thanks for that, much appreciated.

    Jeff

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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