• 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

Enterprise Pro – Disable the 'Main' link in a dropdown menu

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 › Enterprise Pro – Disable the 'Main' link in a dropdown menu

This topic is: not resolved

Tagged: Enterprise Pro, menu bar, navbar, primary navigation, Secondary Navigation

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 2 months ago by Greenshot.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 12, 2014 at 2:50 pm #131341
    Greenshot
    Member

    So I'm using Enterprise Pro, and let's say I have a navbar menu at the top and for one of the links I have a dropdown with three subitems; Is there a way (with perhaps a code snippet) disable the 'Main' link?

    I.e. the 'Main' link would be "Products", and then the three subitems would be "Category 1", "Category 2", and "Category 3". I don't want people to be able to click on "Products" and be forced to go to another page - only the subitems should be clickable.

    Thoughts anybody?

    Thanks!

    http://my.studiopress.com/themes/enterprise/#demo-full
    November 12, 2014 at 3:50 pm #131346
    emasai
    Participant

    You can make it a custom link and just add # in the URL
    URL = #
    Link Text = Products
    The # will be clickable but stays on the page it is clicked from, your submenus will be activated on hover.

    Alternatively you can use the Category 1 as the main page and change the Navigation Label to Products. So that Products will open Category 1 if clicked and the drop downs will be Categories 2 and 3.


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

    November 12, 2014 at 6:04 pm #131352
    Greenshot
    Member

    Lynne,

    Yep, that worked; Simple enough. Thanks!

  • 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

© 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