• 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

Turning off the navigation in eleven40 Pro

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 › General Discussion › Turning off the navigation in eleven40 Pro

This topic is: not resolved

Tagged: menus, navigation, search

  • This topic has 5 replies, 3 voices, and was last updated 5 years, 11 months ago by tatami.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 14, 2017 at 9:36 am #204791
    tatami
    Participant

    I've just bought a license for the Responsive Menu plugin. I want to use it to replace the current menu on my website not just on small screens but on large ones too. The documentation says:

    The first thing you need to do is remove any references to the wp_nav_menu() function in your theme to stop the menu being displayed twice on your site.

    I can't find any such references. Can anyone please help me with this?

    https://www.aenigma-images.com
    April 14, 2017 at 2:22 pm #204795
    James Chai
    Member

    Navigate to your style.css file, find the following and try

    .genesis-nav-menu {
       display: none;
    }

    Also when you create a menu DO NOT select a primary and/or secondary location option.


    Marketing, Sales and WordPress Growth Hacking http://www.smbpress.com

    April 14, 2017 at 4:13 pm #204800
    tatami
    Participant

    Perfect. It worked like a dream. Many thanks!

    April 15, 2017 at 8:15 am #204823
    Victor Font
    Moderator

    The correct way to turn off navigation in Genesis is not with CSS. This only hides the display in the browser. It does not turn off the menu. Add the following to functions.php

    remove_action( 'genesis_after_header', 'genesis_do_nav' );

    This assumes that the menu is in the default location. If it has been moved to a different location, find the add_action in functions.php and remove it.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    April 17, 2017 at 10:17 am #204885
    James Chai
    Member

    @victorfont I believe the user asked about 'replacement' not removing ... but I digress.


    Marketing, Sales and WordPress Growth Hacking http://www.smbpress.com

    April 19, 2017 at 8:28 am #204991
    tatami
    Participant

    Thank you both for your suggestions and sorry for the delayed response – it's taken me a while to get things sorted.

    I couldn't work out how to make the plug-in work so I asked the developer for more help and he's got it working for me (some fine-tuning still required). The plug-in includes a custom CSS box which contains the following code:

    /* Remove existing navigation menu*/
    .nav-primary {
    display: none;
    }

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ 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

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