Hi, I created a page called Index to show up in the global nav. Index will be just for people to be able to select from a drop-down menu. I don’t want Index to be a link at all. I just need it to be a blank button to hold the drop-down menu. Now, every time I click in Index goes to the Index page. I installed Page Lists Plus the plugin, but it’s not doing anything. What should I do so that Index is not longer a link, but just a blank button in the global nav. with a drop-down menu?
Thank you.
Making an inactive global menu button with active drop-down menu links
(4 posts) (2 voices)-
Posted 1 year ago #
-
Hi,
try to add this to the "flare/js/main.js" file (at the end):
jQuery('#menu-item-123').click(function(e) {
e.preventDefault();
});
where 123 is the page ID
Next we'll try to do that through the flare-child-theme
regards,
MichaelPosted 1 year ago # -
Thanks Michael, but it didn't work for me. What I end up doing was a Custom Link with a fake URL and put a label to it. After the Custom Link was added, I deleted the link and left the navigation label so that it'll show in my global nav. Then, I added the drop-down menu and it works great. Thanks for your help.
Posted 1 year ago # -
OK, thx for sharing!
regards,
MichaelPosted 1 year ago #
Reply
You must log in to post.