<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[drop down menu by default]]></title><description><![CDATA[<p dir="auto">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?</p>
]]></description><link>https://laythemeforum.com/topic/7481/drop-down-menu-by-default</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 21:05:31 GMT</lastBuildDate><atom:link href="https://laythemeforum.com/topic/7481.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 Dec 2021 21:30:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to drop down menu by default on Sun, 19 Dec 2021 23:31:21 GMT]]></title><description><![CDATA[<h3>Dear <a class="plugin-mentions-user plugin-mentions-a" href="/user/giselach">@<bdi>giselach</bdi></a></h3>
<p dir="auto">Having the Parent and Child elements visible all the time.<br />
Does the following suit your needs?</p>
<ul>
<li>A Sub-menu</li>
<li>Sub-menu style set to "Click" in &gt; Customize &gt; Sub-menu &gt;</li>
</ul>
<p dir="auto">Following code added into &gt; Lay Options &gt; Custom CSS &amp; HTML &gt;    Custom &lt;Head&gt; Content :</p>
<pre><code>&lt;script&gt;
    window.laytheme.on("newpageshown", function(layoutObj, type, obj){

     jQuery(".menu-item-has-children").addClass("show-submenu-desktop");

    });
&lt;/script&gt;
</code></pre>
<p dir="auto">Result (Sub-menu appears open)<br />
<img src="/assets/uploads/files/1639956664374-screen-shot-2021-12-20-at-12.26.52-pm-resized.png" alt="Screen Shot 2021-12-20 at 12.26.52 PM.png" class=" img-fluid img-markdown" /></p>
<hr />
<h5>Hope this helps <a class="plugin-mentions-user plugin-mentions-a" href="/user/giselach">@<bdi>giselach</bdi></a> &amp; best wishes 🌻</h5>
<h5>Richard</h5>
]]></description><link>https://laythemeforum.com/post/27777</link><guid isPermaLink="true">https://laythemeforum.com/post/27777</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Sun, 19 Dec 2021 23:31:21 GMT</pubDate></item></channel></rss>