<?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 Mobile navigation going crazy in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210371#M8732</link>
    <description>&lt;P&gt;Evening all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're having an issue on a site at the moment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When in mobile view, if we click the menu icon, the menu opens and closes about 5-6 times before staying open, and the same when we close the menu. It's really bizarre and only occurs on the blog list page, not on a specific post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've noticed a number of errors in the console too which may be the cause of this, but I have no idea what they mean (see attached)&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="consoleerrors.JPG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/12243i46B567F897891EF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="consoleerrors.JPG" alt="consoleerrors.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be immensely appreciated, thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 12:25:08 GMT</pubDate>
    <dc:creator>gio-nab</dc:creator>
    <dc:date>2018-10-08T12:25:08Z</dc:date>
    <item>
      <title>Mobile navigation going crazy</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210371#M8732</link>
      <description>&lt;P&gt;Evening all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're having an issue on a site at the moment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When in mobile view, if we click the menu icon, the menu opens and closes about 5-6 times before staying open, and the same when we close the menu. It's really bizarre and only occurs on the blog list page, not on a specific post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've noticed a number of errors in the console too which may be the cause of this, but I have no idea what they mean (see attached)&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="consoleerrors.JPG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/12243i46B567F897891EF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="consoleerrors.JPG" alt="consoleerrors.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be immensely appreciated, thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 12:25:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210371#M8732</guid>
      <dc:creator>gio-nab</dc:creator>
      <dc:date>2018-10-08T12:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile navigation going crazy</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210416#M8736</link>
      <description>&lt;P&gt;would have to see the backend, but this looks pretty suspicious&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Developer_Tools_-_Correvate_Blog_-_https___info_correvate_co_uk_blog_utm_campaign_Sample_-_My_first_inbound_campaign_in_HubSpot_utm_source_forum.png" style="width: 710px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/12254i4EE6F1993F6D017F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Developer_Tools_-_Correvate_Blog_-_https___info_correvate_co_uk_blog_utm_campaign_Sample_-_My_first_inbound_campaign_in_HubSpot_utm_source_forum.png" alt="Developer_Tools_-_Correvate_Blog_-_https___info_correvate_co_uk_blog_utm_campaign_Sample_-_My_first_inbound_campaign_in_HubSpot_utm_source_forum.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 00:40:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210416#M8736</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2018-10-05T00:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile navigation going crazy</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210451#M8741</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72527"&gt;@gio-nab&lt;/a&gt;&amp;nbsp;- to go with&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;answer, you need to go into the&amp;nbsp;&lt;A href="https://info.correvate.co.uk/hs-fs/hub/4447252/hub_generated/template_assets/1538064380090/CUST_Correvate_Templates/Correvate_Blog_Templates_-_Gripped/Coded_Files/CampaignCreators-jan2017-main.min.js" target="_blank"&gt;https://info.correvate.co.uk/hs-fs/hub/4447252/hub_generated/template_assets/1538064380090/CUST_Correvate_Templates/Correvate_Blog_Templates_-_Gripped/Coded_Files/CampaignCreators-jan2017-main.min.js&lt;/A&gt; file and add an if statement to the line that adds the mobile trigger:&lt;/P&gt;&lt;PRE&gt;//OLD
$(".hs-header-logo a").after('&amp;lt;div class="mobile-trigger"&amp;gt;&amp;lt;i&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/div&amp;gt;');&lt;/PRE&gt;&lt;PRE&gt;//NEW
  &lt;STRONG&gt;if(!$('.mobile-trigger').length){&lt;/STRONG&gt;
	 $(".hs-header-logo a").after('&amp;lt;div class="mobile-trigger"&amp;gt;&amp;lt;i&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/div&amp;gt;');
 &lt;STRONG&gt; }&lt;/STRONG&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Oct 2018 11:42:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210451#M8741</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2018-10-05T11:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile navigation going crazy</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210623#M8757</link>
      <description>&lt;P&gt;Thank you both for getting back to me.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2450"&gt;@tjoyce&lt;/a&gt;, I've tried your suggestion and it doesn't look to have worked unfortunately. I'm not sure if it's a caching issues (the link you shared was -main.min.js, I only have access to -main.js via hubspot).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you still see it on your side? I cleared cache / tried multiple devices.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so far!&lt;/P&gt;</description>
      <pubDate>Sun, 07 Oct 2018 23:28:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210623#M8757</guid>
      <dc:creator>gio-nab</dc:creator>
      <dc:date>2018-10-07T23:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile navigation going crazy</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210657#M8760</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72527"&gt;@gio-nab&lt;/a&gt;&amp;nbsp;- You appear to have a deeper issue where all of your header assets are being duplicated about 10 times. This is causing jquery to be added 10 times which is running all of your triggers 10 times. If we can find a way to fix that, it will increase your page load times tremendously as well as fix all the bugs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deep.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/12295i0C6BE12D4DEB66F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="deep.png" alt="deep.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 11:53:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210657#M8760</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2018-10-08T11:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile navigation going crazy</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210659#M8761</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72527"&gt;@gio-nab&lt;/a&gt;&amp;nbsp;- I believe it's your readingTime plugin. When I add this code to console, it waits about 15 seconds and then replicates your assets another 10 times. You should remove this toxic code and the readingTime Plugin altogether.&lt;/P&gt;&lt;PRE&gt;$('.total-words').each(function() {
    $(this).readingTime({
        wordsPerMinute: 200,
        readingTimeTarget: $(this).siblings('.time-to-read').find('.eta').addClass('abc'),
        wordCountTarget: $(this).siblings('.time-to-read').find('.words').addClass('babc'),
        remotePath: $(this).attr('data-file'),
        remoteTarget: $(this).attr('data-target')
    });
});&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Oct 2018 12:10:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210659#M8761</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2018-10-08T12:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile navigation going crazy</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210660#M8762</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2450"&gt;@tjoyce&lt;/a&gt;&amp;nbsp;for all of your help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks to be the culprit of the issue indeed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remove it, it removes the number and leaves the "read" text behind - so I'll have to remove it elsewhere in the template (not an issue!).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for all of your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 12:24:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-navigation-going-crazy/m-p/210660#M8762</guid>
      <dc:creator>gio-nab</dc:creator>
      <dc:date>2018-10-08T12:24:23Z</dc:date>
    </item>
  </channel>
</rss>

