drop down menu by default
General Discussion
2
Posts
2
Posters
222
Views
-
hey! i've built a menu featuring parent and child elements. it seems that by default all child items are under its parent with a dropdown menu. and I would like to keep all the menu items visible all the time, (both parent and child) any thoughts?
-
Dear @giselach
Having the Parent and Child elements visible all the time.
Does the following suit your needs?- A Sub-menu
- Sub-menu style set to "Click" in > Customize > Sub-menu >
Following code added into > Lay Options > Custom CSS & HTML > Custom <Head> Content :
<script> window.laytheme.on("newpageshown", function(layoutObj, type, obj){ jQuery(".menu-item-has-children").addClass("show-submenu-desktop"); }); </script>Result (Sub-menu appears open)

Hope this helps @giselach & best wishes 🌻
Richard
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com