Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi,
Is there a way to disable the current page link on the navigation bar?
many thanks,
Carl
Hi Carl
You can fix/change this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.
li.current-menu-item { pointer-events: none; }You might also need to install the SiteOrigin CSS Editor.
Thanks Andrew,
I’ll give that a go when I get home I’ve already got the custom CSS editor installed it’s a brilliant little plugin for a few small tweaks.
works brilliantly Thanks again Andrew!
iow.bcss.org.uk
Awesome :) Really glad to hear that did the trick.
All the best with your website.
I have just noticed a slight problem with this way of doing it…
If I have a menu item with an on hover drop down and then navigate to the main menu link I cannot access the drop down links on that page without first navigating to another page.
Is there anyway to incorporate a fix but also disable the current page link still?
Many thank again
Carl
In case I haven’t explained it well if you go to the site in question (http://www.iow.bcss.org.uk/) and then hover over “Meetings 2016” and then click the link and then hover over it on the loaded page you will see that it wont work :/
Hi Carl :)
Sure. Try replacing our previous rule with the following:
li.current-menu-item:not(.menu-item-has-children) { pointer-events: none; }Let me know how that goes.
Brilliant thanks again Andrew