<?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: Responaive Spacing on Section but not Module in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Responaive-Spacing-on-Section-but-not-Module/m-p/1105613#M41974</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/391779"&gt;@EdCupaioli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Padding applied through drag-and-drop (DnD) doesn’t work inside a module. To add padding to a div within a module, assign a class name to the div and style it using regular CSS inside the module’s style tag.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-root="1"&gt;I hope this will help you out. Please mark it as &lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt; to help another Community member.&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2025 14:43:09 GMT</pubDate>
    <dc:creator>GRajput</dc:creator>
    <dc:date>2025-02-07T14:43:09Z</dc:date>
    <item>
      <title>Responaive Spacing on Section but not Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Responaive-Spacing-on-Section-but-not-Module/m-p/1105109#M41961</link>
      <description>&lt;P&gt;I can add responsive padding to my section like so:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&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;{% dnd_section 
  padding={
    'default': {
      'top': 0,
      'bottom': 0, 
      'left': 0,
      'right': 0
    },
    'mobile': {
      'top': 0,
      'bottom': 0,  
      'left': 0,
      'right': 0
    } 
  },
  full_width=true
%}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I cannot do that for my module, eg:&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;{% dnd_module 
  styles={
   padding: {
     desktop: {
       top: {
         value: 1,
         units: 'rem'
       },...
     },
     mobile: {
       top: {
         value: 0.5,
         units: 'rem'
       }
     }
   }
  }
%}
{% end_dnd_module %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doing this on the CMS side doesnt product desired results as it seems padding is the same value no matter if I swap between displays.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Is this even possible?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 19:29:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Responaive-Spacing-on-Section-but-not-Module/m-p/1105109#M41961</guid>
      <dc:creator>EdCupaioli</dc:creator>
      <dc:date>2025-02-06T19:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Responaive Spacing on Section but not Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Responaive-Spacing-on-Section-but-not-Module/m-p/1105613#M41974</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/391779"&gt;@EdCupaioli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Padding applied through drag-and-drop (DnD) doesn’t work inside a module. To add padding to a div within a module, assign a class name to the div and style it using regular CSS inside the module’s style tag.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-root="1"&gt;I hope this will help you out. Please mark it as &lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt; to help another Community member.&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 14:43:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Responaive-Spacing-on-Section-but-not-Module/m-p/1105613#M41974</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2025-02-07T14:43:09Z</dc:date>
    </item>
  </channel>
</rss>

