<?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: Topics module not visible on mobile in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805218#M34556</link>
    <description>&lt;P&gt;&amp;nbsp;Hi Alyssa, I've just checked in the revision history and no, this class had never been present in the index template.&lt;/P&gt;
&lt;P&gt;So i suppose it's an error made by HubSpot developer (this is the result of a template migration).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not so confident with Javascript so I can't understand: which is the correct class I have to put in the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: now I'm facing the same issue with the "top posts" module.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 12:34:53 GMT</pubDate>
    <dc:creator>EricaFontimedia</dc:creator>
    <dc:date>2023-06-09T12:34:53Z</dc:date>
    <item>
      <title>Topics module not visible on mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805085#M34544</link>
      <description>&lt;P&gt;Hi everybody!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm writing because I'm facing an issue with the topics module for the first time:&lt;/P&gt;
&lt;P&gt;on desktop it works properly but on mobile an "+" appears near the title of the post and the list of topics doesn't appear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here the link where you can see it:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.deaworklab.com/en-gb" target="_blank"&gt;https://blog.deaworklab.com/en-gb&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can somebody help me to understand how to solve the problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks to everybody!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 08:29:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805085#M34544</guid>
      <dc:creator>EricaFontimedia</dc:creator>
      <dc:date>2023-06-09T08:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Topics module not visible on mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805192#M34553</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/65833"&gt;@EricaFontimedia&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Did you remove some sort of post listing from the sidebar or even just a 'blog-sidebar-post-listing' class (I think it might supposed to be on the recent posts section)? A JavaScript error is occurring because ".blog-sidebar-post-listing" doesn't exist for the event listener to be added to it and since the topic listing event listener occurs&amp;nbsp;&lt;EM&gt;after&amp;nbsp;&lt;/EM&gt;that it's not getting a chance to run. This is the JavaScript in question that's causing an error, the "postListing.addEventListener" line:&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;document.addEventListener("DOMContentLoaded", function(event) {
    var element = document.querySelector('.blog-sidebar');
    function resize() {
      if (window.innerWidth &amp;lt; 768) {
        element.classList.add('mobile');
      } else {
        element.classList.remove('mobile');
      }
    }
    window.onload = resize;
    window.onresize = resize;
    var topicListing = document.querySelector('.blog-sidebar-topic-filter h3');
    var topicListingSidebar = document.querySelector('.blog-sidebar-topic-filter');
    var postListing = document.querySelector('.blog-sidebar-post-listing h3');
    var postListingSidebar = document.querySelector('.blog-sidebar-post-listing');
    postListing.addEventListener('click', function (event){
      postListingSidebar.classList.toggle ('clicked');
    });
    topicListing.addEventListener('click', function (event){
      topicListingSidebar.classList.toggle ('clicked');
    });
 });&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think if you just add "blog-sidebar-post-listing" as a class to the &amp;lt;div class="block"&amp;gt; around your recent posts section it should fix the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 12:07:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805192#M34553</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2023-06-09T12:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Topics module not visible on mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805218#M34556</link>
      <description>&lt;P&gt;&amp;nbsp;Hi Alyssa, I've just checked in the revision history and no, this class had never been present in the index template.&lt;/P&gt;
&lt;P&gt;So i suppose it's an error made by HubSpot developer (this is the result of a template migration).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not so confident with Javascript so I can't understand: which is the correct class I have to put in the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: now I'm facing the same issue with the "top posts" module.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 12:34:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805218#M34556</guid>
      <dc:creator>EricaFontimedia</dc:creator>
      <dc:date>2023-06-09T12:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Topics module not visible on mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805222#M34557</link>
      <description>&lt;P&gt;I'm seeing it working on your site now, so guessing you figured it out?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 12:44:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805222#M34557</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2023-06-09T12:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Topics module not visible on mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805274#M34558</link>
      <description>&lt;P&gt;In reality there is no block class in the template, nor in the module, so I can't edit it.&lt;/P&gt;
&lt;P&gt;Anyway I've tried in the page inspector and it seems not working. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 13:41:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805274#M34558</guid>
      <dc:creator>EricaFontimedia</dc:creator>
      <dc:date>2023-06-09T13:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Topics module not visible on mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805281#M34559</link>
      <description>&lt;P&gt;Whatever changes you made, the dropdowns are now working on my end. Unless your problem is that you don't want the dropdown functionality at all?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="workingblog.png" style="width: 369px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/92604iEB398F862B6FB3C0/image-dimensions/369x523?v=v2" width="369" height="523" role="button" title="workingblog.png" alt="workingblog.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 13:51:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805281#M34559</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2023-06-09T13:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Topics module not visible on mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805294#M34560</link>
      <description>&lt;P&gt;I don't know, I'm still not seeing them, not in the english, nor in the italian page,but anyway only on modile version.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 14:09:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805294#M34560</guid>
      <dc:creator>EricaFontimedia</dc:creator>
      <dc:date>2023-06-09T14:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Topics module not visible on mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805299#M34561</link>
      <description>&lt;P&gt;If you click on "Topics" do the topics appear? That's what the "+" is for, these boxes have a 'dropdown' functionality on mobile wherein clicking the title makes the contents appear.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 14:12:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805299#M34561</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2023-06-09T14:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Topics module not visible on mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805311#M34562</link>
      <description>&lt;P&gt;No, the plus does nothing but anyway I've never seen the topic listing completely closed but always with a "see more" link after a set number of items set in the module.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm now noticing that it is working properly&amp;nbsp; in blog posts but not in listing.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 14:30:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805311#M34562</guid>
      <dc:creator>EricaFontimedia</dc:creator>
      <dc:date>2023-06-09T14:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Topics module not visible on mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805326#M34563</link>
      <description>&lt;P&gt;Problem solved!&lt;BR /&gt;Apparently the Javascript code was causing the problem because it was not necessary. in fact the blog post was working fine without it.&lt;/P&gt;
&lt;P&gt;I've deleted it: I only hope it was not necessary for something that I'm not seeing at the moment.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 14:50:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Topics-module-not-visible-on-mobile/m-p/805326#M34563</guid>
      <dc:creator>EricaFontimedia</dc:creator>
      <dc:date>2023-06-09T14:50:07Z</dc:date>
    </item>
  </channel>
</rss>

