• 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

Remove Menu Link For Current Page

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 › Remove Menu Link For Current Page

This topic is: not resolved

Tagged: menu link

  • This topic has 2 replies, 1 voice, and was last updated 10 years, 1 month ago by DragonTom.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 26, 2015 at 11:12 pm #149245
    DragonTom
    Participant

    I'm using the Prose theme and would like to have menus I show in the sidebar remove the link in the menu when the page I'm on is being shown. Searched the messages but found nothing relating to that topic with my searches. I was able to find a way to make the area below the post show the same menu that's in the sidebar but horizontal instead of vertical. But, I'd like the current page (that's in the menu) not be linked just to help users who might be confused about where they are. Any ideas?

    Tom

    http://missiontour.org/wp/sandiego/mission-san-diego-quadrangle.html
    April 28, 2015 at 12:51 pm #149432
    DragonTom
    Participant

    OK, while not exactly what I wanted, by adding CSS in the special section that looks like this...

    .after-post .current-menu-item a, a:visited {
    font-weight: bold;
    text-decoration: none;
    }

    .sidebar .current-menu-item a, a: visited {
    font-weight: bold;
    text-decoration: none;
    }

    I now have the current page in bold and not underlined. It's still a link but at least it now stands out in the menu as the current page so people have an idea where they are. That will do. To do what I wanted would probably have taken some PHP coding and right now I don't want to get into that; just get my site moved from static HTML into WordPress ASAP. Decorations can come later.

    April 28, 2015 at 11:18 pm #149472
    DragonTom
    Participant

    Well, almost. Discovered that .current-menu-item doesn't exist when you are on the page for the first link in the menu. Not going to worry about it now but the comment might help others trying to solve the same problem. The above is not the full solution.

  • 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