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?
-
drop down menu by default
-
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