<?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: Mobile optimize Custom Module in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/819635#M35003</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17505"&gt;@jestlinbaum&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for reaching out! I don't see this in the documentation for modules:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://knowledge.hubspot.com/design-manager/create-and-edit-modules" target="_blank" rel="noopener"&gt;Create Modules (Design Manager)&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/modules/configuration?_ga=2.190261675.1060292984.1689273619-1519099233.1689273619" target="_blank" rel="noopener"&gt;Configuring a module&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/74"&gt;@Phil_Vallender&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/60200"&gt;@WMM_Inbound&lt;/a&gt;&amp;nbsp;do you have any tips to share with&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17505"&gt;@jestlinbaum&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much! — Jaycee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 18:59:25 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2023-07-13T18:59:25Z</dc:date>
    <item>
      <title>Mobile optimize Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/818835#M34985</link>
      <description>&lt;P&gt;When using (for instance) a standard HubSpot rich text module in a drag and drop template. There is the ability to adjust styles based on desktop / mobile. Is there a way to incorporate that same behavior when building/using a custom module? Right now, I can only set one set of styles no matter which option I am toggled on.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-07-05 at 3.01.02 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/94600iEE9F17A9481169D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2023-07-05 at 3.01.02 PM.png" alt="Screen Shot 2023-07-05 at 3.01.02 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 13:50:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/818835#M34985</guid>
      <dc:creator>jestlinbaum</dc:creator>
      <dc:date>2023-07-12T13:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile optimize Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/819635#M35003</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17505"&gt;@jestlinbaum&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for reaching out! I don't see this in the documentation for modules:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://knowledge.hubspot.com/design-manager/create-and-edit-modules" target="_blank" rel="noopener"&gt;Create Modules (Design Manager)&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/modules/configuration?_ga=2.190261675.1060292984.1689273619-1519099233.1689273619" target="_blank" rel="noopener"&gt;Configuring a module&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/74"&gt;@Phil_Vallender&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/60200"&gt;@WMM_Inbound&lt;/a&gt;&amp;nbsp;do you have any tips to share with&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17505"&gt;@jestlinbaum&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much! — Jaycee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 18:59:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/819635#M35003</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-07-13T18:59:25Z</dc:date>
    </item>
    <item>
      <title>Betreff: Mobile optimize Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/819698#M35010</link>
      <description>&lt;P&gt;Hi Jestlinbaum,&lt;/P&gt;&lt;P&gt;i just tried it in my theme and it looks like it is only possible for now to have seperate values for those in your Screenshot: Visibility, Hide and Alignment/spacing. If you change a value in Desktop and try to set one for mobile, it resets the Desktop value, regardless of the type of the module ( default or custom module).&lt;BR /&gt;&lt;BR /&gt;However, this can of course mitigated with CSS. You can write a media query for mobile ( which would be in fact the better option) screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andreas Wessolly&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 20:52:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/819698#M35010</guid>
      <dc:creator>A_Wessolly</dc:creator>
      <dc:date>2023-07-13T20:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile optimize Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/819781#M35013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17505"&gt;@jestlinbaum&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can confirm&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/328782"&gt;@A_Wessolly&lt;/a&gt;&amp;nbsp;- I can edit those values in a custom theme with a custom module.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pro tipp:It's a bit more work but definately possible - If you're creating a custom module you can put as many styling options into it as you wish. You don't necessary need the "mobile" toggle. You could add a spacing element for desktop, one for tablet and one for mobile into it and write&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% require_css %}
&amp;lt;style&amp;gt;
{% scope_css %}
.myElement{
  {{module.styles.mobile_spacing.css}}
}

@media screen and (min-width:768px){
  .myElement{
    {{module.styles.tablet_spacing.css}}
  }
}

@media screen and (min-width:1200px){
  .myElement{
    {{module.styles.desktop_spacing.css}}
  }
}
{% end_scope_css %}
&amp;lt;/style&amp;gt;
{% end_require_css %}&lt;/LI-CODE&gt;
&lt;P&gt;into the HTML+Hubl area of the module (I recommend to put it at the very beginning so you don't have to look for it, if it's a bigger custom module).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And a tipp: Make your life easier by grouping such options according to the &lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/module-theme-fields/best-practices" target="_blank" rel="noopener"&gt;best-practises&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 23:36:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/819781#M35013</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2023-07-13T23:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile optimize Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/820055#M35022</link>
      <description>&lt;P&gt;Thanks everyone! I really appreciate the input.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 14:28:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Mobile-optimize-Custom-Module/m-p/820055#M35022</guid>
      <dc:creator>jestlinbaum</dc:creator>
      <dc:date>2023-07-14T14:28:31Z</dc:date>
    </item>
  </channel>
</rss>

