• 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

Latinadeideas

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 22, 2015 at 8:41 am in reply to: Disable the responsive menu only for secondary nav #160095
    Latinadeideas
    Member

    Hi guys! I figured out.
    I hope this is useful for someone. Just changed the js for this one. Naming only the menu I need to be responsive, it excldes the other menu I placed inside the header.

    it feels good to solve this task!

    jQuery(function( $ ){

    $("header .header-widget-area .genesis-nav-menu, .nav-primary .genesis-nav-menu").addClass("responsive-menu").before('<div class="responsive-menu-icon"></div>');

    $(".responsive-menu-icon").click(function(){
    $(this).next("header .header-widget-area .genesis-nav-menu, .nav-primary .genesis-nav-menu").slideToggle();
    });

    $(window).resize(function(){
    if(window.innerWidth > 768) {
    $("header .header-widget-area .genesis-nav-menu, .nav-primary .genesis-nav-menu, nav .sub-menu").removeAttr("style");
    $(".responsive-menu > .menu-item").removeClass("menu-open");
    }
    });

    $(".responsive-menu > .menu-item").click(function(event){
    if (event.target !== this)
    return;
    $(this).find(".sub-menu:first").slideToggle(function() {
    $(this).parent().toggleClass("menu-open");
    });
    });

    });

    July 21, 2015 at 2:11 pm in reply to: How to disable responsiveness of secondary navigation menu only ? #160025
    Latinadeideas
    Member

    many thanks, Cristoph. I will open a new one.
    I repositioned secondary nav into header. This may be the reason (I guess)

    July 21, 2015 at 7:19 am in reply to: How to disable responsiveness of secondary navigation menu only ? #159954
    Latinadeideas
    Member

    jQuery(function( $ ){

    $("header .genesis-nav-menu, .nav-primary .genesis-nav-menu").addClass("responsive-menu").before('<div class="responsive-menu-icon"></div>');

    $(".responsive-menu-icon").click(function(){
    $(this).next("header .genesis-nav-menu, .nav-primary .genesis-nav-menu").slideToggle();
    });

    $(window).resize(function(){
    if(window.innerWidth > 768) {
    $("header .genesis-nav-menu, .nav-primary .genesis-nav-menu, nav .sub-menu").removeAttr("style");
    $(".responsive-menu > .menu-item").removeClass("menu-open");
    }
    });

    $(".responsive-menu > .menu-item").click(function(event){
    if (event.target !== this)
    return;
    $(this).find(".sub-menu:first").slideToggle(function() {
    $(this).parent().toggleClass("menu-open");
    });
    });

    });

    July 21, 2015 at 7:09 am in reply to: How to disable responsiveness of secondary navigation menu only ? #159953
    Latinadeideas
    Member

    I am trying to disable the responsive only for secondary in paralax pro theme.
    I found that you have to modify the js inside the theme, but even if there is not nav-secondary declared here, the menu transforms into burger.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)

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