Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Stop “current_page_item” and “currrent-menu-item” appearing on anchor links.

Home / Forums / Pinnacle Theme / Stop “current_page_item” and “currrent-menu-item” appearing on anchor links.

This topic is: Not a support question
[Not a support question]
Posted in: Pinnacle Theme
October 16, 2018 at 1:41 am

Hi there,

I often have websites where anchor links are used in the menu because a lot of content is kept on the homepage. Even following the ‘one-page’ guide provided, this problem still occurs.

Website is:

You’ll notice Home, Services, and About are all golden (and thus have no hover effect), and also any drop down menu items have their ‘active’ styling as well.

The script appears to assign “current_page_item” and “currrent-menu-item” to these anchors. Is there a way to prevent this so only non-anchor links receive these classes?

As it stands now, there is no class by which to differenciate the anchors in order to override this effect, without also overriding the others.

  • The forum ‘Pinnacle Theme’ is closed to new topics and replies.