• 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

Outreach Pro: Change Height of Menu Items?

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 › Outreach Pro: Change Height of Menu Items?

This topic is: not resolved

Tagged: Menu Height, Outreach Pro

  • This topic has 5 replies, 3 voices, and was last updated 11 years, 11 months ago by Sridhar Katakam.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • March 15, 2014 at 11:59 pm #95089
    FrankJohnson
    Member

    Friends:

    How would I go about changing the height of individual sub-menu items on the primary navigation menu that is part of the Outreach Pro theme? In other words, one of these menu items:

    Menu Height

    Thanks in advance for any help anyone can offer - I really appreciate it.

    Frank

    March 16, 2014 at 2:12 am #95100
    Pixel Frau
    Member

    You can assign a class to the individual sub-menu item. Then specify the padding for that class in the CSS.

    Appearance > Menus > enter a class in the CSS classes field. If you don't see the CSS classes option, click Screen Options and tick the CSS Classes box.

    Add something like this to your CSS:

    .sub-menu a.custom-class {
    padding: 14px 20px;
    }

    Replace 'custom-class' with whatever you typed in as the class for the sub-menu item. Increase/decrease the 14px to adjust the height.

    March 16, 2014 at 10:14 am #95155
    FrankJohnson
    Member

    Pixel Frau:

    Thanks for your response. I went through the sub-menu items and assigned them all a class of "shorter". At first, when I used your css:

    .sub-menu a.custom-class {
    padding: 14px 20px;
    }

    it didn't work. When I looked at the source, I noticed that the class of "shorter" was being assigned to the list item rather than the link tag:

    <li id="menu-item-56" class="shorter menu-item menu-item-type-post_type menu-item-object-page menu-item-56"><a href="http://www.agncn.org/who-we-are/">Who We Are</a></li>

    so I changed the css to this:

    .sub-menu <strong>li</strong>.custom-class {
    padding: 14px 20px;
    }

    and the additional style did start to affect the sub menu items. But it doesn't look anywhere near what I expected:

    Menu Height Problem

    Thanks again for your help - it's much appreciated.

    Frank

    March 16, 2014 at 10:22 am #95159
    Pixel Frau
    Member

    In that case, try something like this:

    .genesis-nav-menu .sub-menu .shorter a {
    padding: 14px 20px;
    }

    It's helpful if you post a link to your website so that we can look at your actual code. 🙂

    March 16, 2014 at 11:32 am #95163
    FrankJohnson
    Member

    Thanks Pixel Frau. I'll try that.

    Unfortunately, the site is private at the moment - and not available to the public. I hope to relaunch the site today, so if I can't get it to work, I'll launch it and then post the link.

    Thanks again,

    Frank

    March 16, 2014 at 12:33 pm #95175
    Sridhar Katakam
    Participant

    Just add the following in style.css:

    .menu-primary .sub-menu a {
        padding: 24px 20px;
    }

    and adjust the first number to your liking.

    screenshot


    Genesis Tutorials | Follow me on Twitter

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