• 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

Genesis sample theme sub-menu alignment

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 › Genesis sample theme sub-menu alignment

This topic is: not resolved

Tagged: genesis sample, menu, navigation, sub menu

  • This topic has 2 replies, 3 voices, and was last updated 11 years, 5 months ago by Sridhar Katakam.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 20, 2013 at 2:17 pm #80498
    detroitwidget
    Member

    Hi Guys,

    I'm trying to adjust the horizontal placement of a sub-menu in the Genesis Sample Theme (see "Log In" link at top right).

    Currently, when a sub-menu drops down, it’s left edge aligns with the left edge of its parent. I would prefer to align the right edges.

    Any clues on how to accomplish this?

    Many thanks.

    http://www.farsidebank.com/
    December 22, 2013 at 7:48 am #80752
    Davinder Singh Kainth
    Member

    Look for following section in style.css

    .genesis-nav-menu .sub-menu a {
    background-color: #fff;
    border: 1px solid #eee;
    border-top: none;
    font-size: 14px;
    font-size: 1.4rem;
    padding: 16px 20px;
    padding: 1.6rem 2rem;
    position: relative;
    width: 200px;
    }

    Add following line to it

    text-align: right !important;


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    December 22, 2013 at 8:05 am #80754
    Sridhar Katakam
    Participant

    Use this CSS:

    @media only screen and (min-width: 769px) {
    
    	#menu-item-54 ul.sub-menu {
    	    margin-left: -135px;
    	}
    
    }

    Genesis Tutorials | Follow me on Twitter

  • 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