<?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: Sprocket Theme - Form padding and style goes away on publishing in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370794#M18634</link>
    <description>&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is an alternative solution to modify and update your CSS code snippets.&lt;BR /&gt;&lt;BR /&gt;Once I encountered the same issue to edit the CSS and update it.&lt;BR /&gt;However I found a different solution to make it work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to your &lt;STRONG&gt;Site page--&amp;gt;Edit Page--&amp;gt;Navigate to Setting Tab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scroll Down and expand Advanced options&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to&amp;nbsp;Additional code snippets&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;BR /&gt;Under Head Html&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;style&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;(Insert your css code snippets)&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;/style&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Once you done the changes click &lt;STRONG&gt;Publish.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshot for your reference&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot for your reference" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/31788i869E1B56B209409F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Screenshot for your reference" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot for your reference&lt;/span&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Note: If you have the right class or id selector this method will work.&lt;BR /&gt;Let me know if it's worked on your end.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Venki&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 12:41:54 GMT</pubDate>
    <dc:creator>Venki</dc:creator>
    <dc:date>2020-09-16T12:41:54Z</dc:date>
    <item>
      <title>Sprocket Theme - Form padding and style goes away on publishing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370469#M18612</link>
      <description>&lt;P&gt;I am using Sprocket.io to build landing pages using the SR-Theme&lt;/P&gt;&lt;P&gt;The picture below is how I want the form to look.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Desired" style="width: 386px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/31729i1B8706240ED0EB6D/image-dimensions/386x317?v=v2" width="386" height="317" role="button" title="form-1.PNG" alt="Desired" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Desired&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this is how the page looks when I publish it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Current" style="width: 391px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/31730iAEF38C0E63696372/image-dimensions/391x282?v=v2" width="391" height="282" role="button" title="form-2.PNG" alt="Current" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Current&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please note: The style setting can be seen before publishing however they get removed after publishing.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 16:41:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370469#M18612</guid>
      <dc:creator>karanmonga</dc:creator>
      <dc:date>2020-09-15T16:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sprocket Theme - Form padding and style goes away on publishing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370471#M18613</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/145384"&gt;@karanmonga&lt;/a&gt;&amp;nbsp;do you have a preview link? It's most likely an iframe background color being applied via CSS somewhere but it's hard to say without a link.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 16:45:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370471#M18613</guid>
      <dc:creator>stefen</dc:creator>
      <dc:date>2020-09-15T16:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sprocket Theme - Form padding and style goes away on publishing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370473#M18614</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see that the sr-base.min.css script is getting overwritten by another property. Could you tell me how to remove that?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="form-3.PNG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/31731i28C0BFDF929C0121/image-size/large?v=v2&amp;amp;px=999" role="button" title="form-3.PNG" alt="form-3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 15:48:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370473#M18614</guid>
      <dc:creator>karanmonga</dc:creator>
      <dc:date>2020-09-16T15:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sprocket Theme - Form padding and style goes away on publishing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370480#M18616</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/145384"&gt;@karanmonga&lt;/a&gt;&amp;nbsp;you can use the following CSS to override the white background:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;form.hs-form {
    background: none;
}&lt;/LI-CODE&gt;
&lt;P&gt;I also noticed there is a "bg-white" class on a parent div around the form. You'll want to remove that as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 16:53:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370480#M18616</guid>
      <dc:creator>stefen</dc:creator>
      <dc:date>2020-09-15T16:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sprocket Theme - Form padding and style goes away on publishing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370482#M18617</link>
      <description>&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;Could you tell me where to edit the CSS inside the theme?&lt;/P&gt;&lt;P&gt;Since I am using Sprocket I am unable to change the design settings since I see this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="form-4.PNG" style="width: 200px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/31733i1BA4857F697CACF5/image-size/small?v=v2&amp;amp;px=200" role="button" title="form-4.PNG" alt="form-4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way to bypass this?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 16:59:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370482#M18617</guid>
      <dc:creator>karanmonga</dc:creator>
      <dc:date>2020-09-15T16:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sprocket Theme - Form padding and style goes away on publishing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370537#M18622</link>
      <description>&lt;P&gt;Hi Stefen, I found the css files however I am unable to find the sr-base.min.css file inside my design manager. Is that the same as the sr-base.css file?&lt;/P&gt;&lt;P&gt;Could you please help me find it?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 19:21:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370537#M18622</guid>
      <dc:creator>karanmonga</dc:creator>
      <dc:date>2020-09-15T19:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sprocket Theme - Form padding and style goes away on publishing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370794#M18634</link>
      <description>&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is an alternative solution to modify and update your CSS code snippets.&lt;BR /&gt;&lt;BR /&gt;Once I encountered the same issue to edit the CSS and update it.&lt;BR /&gt;However I found a different solution to make it work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to your &lt;STRONG&gt;Site page--&amp;gt;Edit Page--&amp;gt;Navigate to Setting Tab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scroll Down and expand Advanced options&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to&amp;nbsp;Additional code snippets&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;BR /&gt;Under Head Html&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;style&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;(Insert your css code snippets)&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;/style&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Once you done the changes click &lt;STRONG&gt;Publish.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshot for your reference&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot for your reference" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/31788i869E1B56B209409F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Screenshot for your reference" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot for your reference&lt;/span&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Note: If you have the right class or id selector this method will work.&lt;BR /&gt;Let me know if it's worked on your end.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Venki&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 12:41:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370794#M18634</guid>
      <dc:creator>Venki</dc:creator>
      <dc:date>2020-09-16T12:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sprocket Theme - Form padding and style goes away on publishing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370932#M18645</link>
      <description>&lt;P&gt;Thanks a lot Venki! Your solution helped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 15:47:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370932#M18645</guid>
      <dc:creator>karanmonga</dc:creator>
      <dc:date>2020-09-16T15:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sprocket Theme - Form padding and style goes away on publishing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370950#M18647</link>
      <description>&lt;P&gt;&lt;STRONG&gt;You are welcome Karan!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope you found the right code snippets for your&lt;/P&gt;&lt;P&gt;requirement.&lt;/P&gt;&lt;P&gt;In case if you want to apply CSS globally to all your pages, you can go to the&lt;/P&gt;&lt;P&gt;Design manager or&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Settings--&amp;gt;Website--&amp;gt;Pages&lt;/STRONG&gt; and follow the same procedure&lt;BR /&gt;(It's only recommended for the global classes used all over the pages)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Venki&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 16:05:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sprocket-Theme-Form-padding-and-style-goes-away-on-publishing/m-p/370950#M18647</guid>
      <dc:creator>Venki</dc:creator>
      <dc:date>2020-09-16T16:05:09Z</dc:date>
    </item>
  </channel>
</rss>

