make the parent page in menu unclickable
I’d like to make the parent page non-clickable in the menu so that when you hover over it the sub page drop down appears. I believe there was a custom css script developed for this but I can’t find it in my search.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi Andreas
Unfortunately it is not possible to disable a link using CSS. The best you can manage is to hide it by stopping the cursor from changing and by disabling the hover effect.
.current-menu-item a { cursor: default; pointer-events: none; } .current-menu-item a:hover { background-color: inherit !important; color: #e2e2e2 !important; }In the second entry please change the color section to match the colour of your menu text.
Let us know if this is what you were after
Magus
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.