• 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

Both Menus Responsiv?

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 › Both Menus Responsiv?

This topic is: not resolved

Tagged: js, Magazine Pro, menu, responsive

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 7 months ago by ddunn.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 20, 2014 at 1:42 pm #95866
    ddunn
    Participant

    Using Magazine Pro, I have managed to duplicate the responsive-menu.js script so that both the Primary and Secondary menus are responsive. The styles drop into the appropriate places so that is good. The only issue is that clicking on either menu icon opens up both menus. What am I missing to make it control each menu independently?

    (jQuery(function( $ ){
    
    	$(".nav-primary .genesis-nav-menu").addClass("responsive-menu").before('<div id="responsive-menu-icon"></div>');
    	
    	$("#responsive-menu-icon").click(function(){
    		$("nav .genesis-nav-menu").slideToggle();
    	});
    	
    	$(window).resize(function(){
    		if(window.innerWidth > 768) {
    			$(".nav-primary .genesis-nav-menu").removeAttr("style");
    		}
    	});
    	
    })
    );
    //FOLLOWING ADDED BY DONNA
    (jQuery(function( $ ){
    
    	$(".nav-secondary .genesis-nav-menu").addClass("responsive-menu-2").before('<div id="responsive-menu-icon-2"></div>');
    	
    	$("#responsive-menu-icon-2").click(function(){
    		$("nav .genesis-nav-menu").slideToggle();
    	});
    	
    	$(window).resize(function(){
    		if(window.innerWidth > 768) {
    			$(".nav-secondary .genesis-nav-menu").removeAttr("style");
    		}
    	});
    	
    })
    );
    http://y-jesus.org/
    April 20, 2014 at 7:28 am #101390
    Susan
    Moderator

    As you posted this a while back, I hope you were able to resolve your issue. If not, check back in here, and I will attempt to troubleshoot further, or escalate.

    If it has been resolved, please mark it as “resolved”, so that the thread can be closed.

    Thanks!

    April 22, 2014 at 12:33 pm #101916
    ddunn
    Participant

    Hi Susan,

    This is still not resolved. I found a work-around, but in the long run, would like to be able to add to the theme instead of use a plugin.

  • 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