When you add a sub-item to an existing menu item, it removes the link from that existing menu item, and clicking on it will no longer take you where it’s supposed to.
This is the result:
Marketing (clicking does nothing)
Category 1 (clicking takes you to category 1)
Category 2 (ditto)
Category 3 (ditto)
I’d like the top level of my drop down menus to retain their links. Any advice?
I guess the problem is that adding sub items changes the top level item from a link into a button that toggles the visibility of the dropdown menu.
I’ve never used a website with drop down menus that didn’t allow you to click on the top level menu item. If I can’t fix this, I’m going to have to switch to another theme, because my users are going to be very confused when clicking on the menu items doesn’t do anything. (Yeah, technically it does toggle open the menu, but since hovering over the menu reveals the menu anyway, this is totally redundant.
I haven’t looked into it as I want to keep things as simple as possible for a free theme.
If you don’t have many top menu items then JavaScript might be a quick solution. Not the best one if you are looking to change those pages regularly but if those are going to be static page then why not.
Also to make things more intuitive/usable parent top level link in dropdown should have same active colour as other top level menu items that are not dropdowns when dropdown item page is displayed. I used
Sparkling theme has much better custom color management implemented and soon it will be updated for Dazzling as well. Haven’t had time to update it yet. Sorry about that.
Hi, I am fighting with this problem now and I have no idea why it is not working.
This is my code, i even hard coded the link there just to see it working but it will not. I am using dazzling-child theme.
This is my code:
This is old topic and to help keep support thread separates could you please create your own thread for your question here https://colorlibsupport.com/c/dazzling/ instead of replying on others thread as it makes the thread messy and hard to read.
If you want to you can also add reference of this thread in your newly created thread.
We would be more than happy to help you on your new thread.