• 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

Magazine Pro: secondary and primary nav styling issues

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 › Magazine Pro: secondary and primary nav styling issues

This topic is: resolved

Tagged: Magazine Pro, menus, padding

  • This topic has 5 replies, 3 voices, and was last updated 8 years, 7 months ago by cookieandkate.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 21, 2013 at 1:23 pm #80650
    cookieandkate
    Member

    Hi,

    I want to use different padding amounts for my primary and secondary navigation menus. However, they both seem to be controlled by the following code:

    .genesis-nav-menu a {
    	border: none;
    	color: #222;
    	display: block;
    	padding: 10px 10px;
    	padding: 1rem 1rem;
    	position: relative;
    }

    How do I differentiate the primary and secondary nav "a" styling so I can have different padding for the different menus?

    Thank you so much!
    Kate

    December 22, 2013 at 7:41 am #80750
    Davinder Singh Kainth
    Member

    Can you provide your website url or name of theme being used?


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

    December 22, 2013 at 2:19 pm #80792
    cookieandkate
    Member

    Sorry, I would, but it's a local test site. If you look at Magazine Pro's demo, you can probably see what I'm talking about: http://my.studiopress.com/themes/magazine/#demo-full

    December 22, 2013 at 3:34 pm #80807
    emasai
    Participant

    You can add padding to the menus using a different tag
    .nav-primary a
    .nav-secondary a


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    December 22, 2013 at 9:42 pm #80848
    Davinder Singh Kainth
    Member

    Look for following section

    /* Secondary Navigation
    --------------------------------------------- */

    .nav-secondary .wrap {
    border-bottom: 1px solid #222;
    }

    Add following below above code

    .nav-secondary a {
    padding:10px 20px;
    }


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

    December 30, 2013 at 11:22 pm #82236
    cookieandkate
    Member

    That worked! Thank you so much!

  • 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

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