MajaMaKe Posted July 15 Posted July 15 Hi, I have a dropdown menu on my site: www.glasbenasolamake.si under secondary nav link Cenik. However, if you click on the link itself it takes you to the first dropdown item, while I would like it to go to a separate page, where all menu items are listed again. I read about the CSS option to have the first menu item hidden (and that being the page where it takes you after clicking the menu) and tried a couple, but none of them seem to work. I appreciate your help!
Solution tuanphan Posted July 17 Solution Posted July 17 To hide first item in dropdown, you can use this code to Custom CSS box span.Header-nav-folder>a:nth-child(1) { display: none !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
MajaMaKe Posted July 18 Author Posted July 18 That's amazing, Tuanphan! On mobile it stays, though; can this be done on mobile too?
tuanphan Posted July 20 Posted July 20 On 7/18/2024 at 7:00 PM, MajaMaKe said: That's amazing, Tuanphan! On mobile it stays, though; can this be done on mobile too? You can use this CSS code for mobile .Mobile-overlay-folder.is-active-folder>a:nth-child(2) { display: none; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
MajaMaKe Posted July 23 Author Posted July 23 Tuanphan, you are amazing. Can I send you some flowers? What a beautiful menu we have now 😍 tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment