<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom Module Navigation - Child Items always visible and effects parent nav width. in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401872#M20667</link>
    <description>&lt;P&gt;Thanks Philip! Perfect!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 12:59:08 GMT</pubDate>
    <dc:creator>saustwick</dc:creator>
    <dc:date>2021-01-21T12:59:08Z</dc:date>
    <item>
      <title>Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/392672#M19997</link>
      <description>&lt;P&gt;I've created a custom module which includes a nav menu. The nav includes a parent item with some child items. When viewed the child items always display and the child items make the parent item width huge!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what it looks like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="saustwick_0-1607610291037.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/35239i60CE8BC6D83F63C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="saustwick_0-1607610291037.png" alt="saustwick_0-1607610291037.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've set up the menu item like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{% menu id="{{ module.menu_field }}", flyouts="{{ module.flyouts }}" %}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;flightouts is a booleen.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 14:25:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/392672#M19997</guid>
      <dc:creator>saustwick</dc:creator>
      <dc:date>2020-12-10T14:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/392995#M20041</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/153055"&gt;@saustwick&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Welcome to the Community!&lt;/P&gt;
&lt;P&gt;It would help if you could provide a link to an example page (preview link would be perfect!)&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt; and &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90514"&gt;@pm8rsh88&lt;/a&gt;&amp;nbsp; are some super stars and probably can help you out once we get that link &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 14:23:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/392995#M20041</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2020-12-11T14:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/392998#M20042</link>
      <description>&lt;P&gt;Can you provide a link to the page, please?&lt;/P&gt;&lt;P&gt;I'll take a look and try and help as best I can.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 14:31:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/392998#M20042</guid>
      <dc:creator>pm8rsh88</dc:creator>
      <dc:date>2020-12-11T14:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/393023#M20043</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90514"&gt;@pm8rsh88&lt;/a&gt;! my guess with the menu is probably few tweaks in the CSS&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 15:37:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/393023#M20043</guid>
      <dc:creator>jonchim</dc:creator>
      <dc:date>2020-12-11T15:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401856#M20661</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;Sorry for the delays - I was pulled over to another project.&amp;nbsp; This is he link to the project&lt;/P&gt;&lt;P&gt;&lt;A href="http://www-corvid-co-uk.sandbox.hs-sites.com/" target="_blank"&gt;http://www-corvid-co-uk.sandbox.hs-sites.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:17:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401856#M20661</guid>
      <dc:creator>saustwick</dc:creator>
      <dc:date>2021-01-21T12:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401858#M20662</link>
      <description>&lt;P&gt;Try CSS Styling like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.main-nav ul ul {
    display: none;
    flex-direction: column;
    padding-left: 0;
}


.main-nav ul li:hover&amp;gt;ul {
    display: block;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:26:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401858#M20662</guid>
      <dc:creator>pm8rsh88</dc:creator>
      <dc:date>2021-01-21T12:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401859#M20663</link>
      <description>&lt;P&gt;Thanks - this solves my dropdown not being a drop down but when I hover over the parent the whole menu item shifts to fit the width of the a links.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:35:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401859#M20663</guid>
      <dc:creator>saustwick</dc:creator>
      <dc:date>2021-01-21T12:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401860#M20664</link>
      <description>&lt;P&gt;Glad that worked. Leave it with me and I'll modify the code a little&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:36:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401860#M20664</guid>
      <dc:creator>pm8rsh88</dc:creator>
      <dc:date>2021-01-21T12:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401861#M20665</link>
      <description>&lt;P&gt;Thanks - I've just popped something in which seems to be part way there but if feels a bit rough! I've added white-space:nowrap to the &amp;lt;a&amp;gt; and set a specific width to the parent (hs-item-has-children) but this causes the dropdown to push the centrally aligned tagline to move when the child menu opens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:39:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401861#M20665</guid>
      <dc:creator>saustwick</dc:creator>
      <dc:date>2021-01-21T12:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401865#M20666</link>
      <description>&lt;P&gt;A position absolute will resolve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remove the Width and White-space and try this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.main-nav ul ul {
    display: none;
    flex-direction: column;
    padding-left: 0;
}


.main-nav ul li:hover&amp;gt;ul {
    display: block;
    position: absolute;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:46:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401865#M20666</guid>
      <dc:creator>pm8rsh88</dc:creator>
      <dc:date>2021-01-21T12:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module Navigation - Child Items always visible and effects parent nav width.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401872#M20667</link>
      <description>&lt;P&gt;Thanks Philip! Perfect!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:59:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-Navigation-Child-Items-always-visible-and-effects/m-p/401872#M20667</guid>
      <dc:creator>saustwick</dc:creator>
      <dc:date>2021-01-21T12:59:08Z</dc:date>
    </item>
  </channel>
</rss>

