<?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: Help with multi column form fieldset width in Blog, Website &amp; Page Publishing</title>
    <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/272941#M2538</link>
    <description>&lt;P&gt;Thank you so much! I was able to make it work with some additional tweaking, so I wouldnt have to update the padding if I decided to add more 2-column fields. Here's what I added:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fieldset.form-columns-2 .hs-form-field:nth-child(2n +1)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;padding: 0 10px 0 0;&lt;/P&gt;&lt;P&gt;box-sizing: border-box;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/83477"&gt;@media&lt;/a&gt; (max-width: 400px)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;fieldset.form-columns-2 .hs-form-field:nth-child(2n +1)&lt;/P&gt;&lt;P&gt;{padding: 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2019 19:44:41 GMT</pubDate>
    <dc:creator>cpburke</dc:creator>
    <dc:date>2019-05-31T19:44:41Z</dc:date>
    <item>
      <title>Help with multi column form fieldset width</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/265525#M2411</link>
      <description>&lt;P class="p1"&gt;I am having issues with multi-column form field width. The multi column fields have 10px padding-right applied to them so there's a gap between the two fields. By adding this padding to my CSS file, it applies to the single line fields that are set to 100% width. If I remove the padding, everything lines up correctly but there is no spacing between the multi column fields.&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Here's a link to a test page I created to show the issue with the form input widths:&amp;nbsp;&lt;A href="https://info.ennvee.com/test-template-form" target="_blank"&gt;https://info.ennvee.com/test-template-form&lt;/A&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Basically, I just want the multi column form fields to have 10px padding between them, and keep the single column fields set to 100% width so every line appears to be the same width.&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;My CSS knowledge is very basic so I don't know if I added something wrong to the CSS file, or even how to go about fixing this. Any guidance is appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 02:03:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/265525#M2411</guid>
      <dc:creator>cpburke</dc:creator>
      <dc:date>2019-04-17T02:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with multi column form fieldset width</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/267643#M2448</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/86407"&gt;@cpburke&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you still looking for assistance with this matter? Looking at the page you linked (thank you!), the fields look to be rendering properly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if you still need help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jenny&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 16:28:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/267643#M2448</guid>
      <dc:creator>jennysowyrda</dc:creator>
      <dc:date>2019-04-30T16:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with multi column form fieldset width</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/267701#M2449</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/3685"&gt;@jennysowyrda&lt;/a&gt;&amp;nbsp; I still need some help with this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The form fields still have 10px padding-right applied to them (in my style sheet). That's how it appears in the URL that I mentioned above. If I remove padding-right: 10px, the single column width displays correctly (100% width). But if I place two fields side-by-side, there's no spacing between them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm just trying to figure out how I can keep all fields set to 100% width, and keep 10px of spacing between two column fields. I hope that makes sense.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 18:37:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/267701#M2449</guid>
      <dc:creator>cpburke</dc:creator>
      <dc:date>2019-04-30T18:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with multi column form fieldset width</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/267936#M2454</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/86407"&gt;@cpburke&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd remove this style:&lt;/P&gt;&lt;PRE&gt;form.hs-form fieldset .hs-form-field { padding: 0 10px 0 0;}&lt;/PRE&gt;&lt;P&gt;Instead i'd target the classes that are specific to each input and only add 10px to those:&lt;/P&gt;&lt;PRE&gt;.hs-firstname, .hs-email {padding: 0 10px 0 0;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 18:28:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/267936#M2454</guid>
      <dc:creator>lindseynwmn</dc:creator>
      <dc:date>2019-05-01T18:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with multi column form fieldset width</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/267952#M2457</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/86407"&gt;@cpburke&lt;/a&gt; try this&lt;/P&gt;
&lt;PRE&gt;@media (min-width: 481px) {
  form.hs-form .form-column-2 .hs-form-field:nth-child(2n + 1) {
    padding: 0 10px 0 0;
  }
}
@media (min-device-width: 320px) and (max-device-width: 480px) {
  form.hs-form-60d62b79-9ba4-40d2-816a-bad0047df045_4af4179a-d55c-4feb-90ae-8ab499c4ceaa:not(.hs-video-form)
    .form-columns-2
    .hs-form-field
    .hs-input,
  form.hs-form-60d62b79-9ba4-40d2-816a-bad0047df045_4af4179a-d55c-4feb-90ae-8ab499c4ceaa:not(.hs-video-form)
    .form-columns-3
    .hs-form-field
    .hs-input {
    width: 100%;
  }
}
&lt;/PRE&gt;
&lt;P&gt;instead of targeting all of the .hs-form-fields, let's target on the odd ones.&amp;nbsp; that is what nth-child(2n + 1)&amp;nbsp; will do for us. added a min width to that so when we get under 481px, we remove that padding.&amp;nbsp; you also had a style in there setting the fields to 95%.&amp;nbsp; do a search for that second set of selectors and change the width to 100% at 480px.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope that helps!&lt;/P&gt;
&lt;P&gt;d&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 19:42:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/267952#M2457</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2019-05-01T19:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help with multi column form fieldset width</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/272941#M2538</link>
      <description>&lt;P&gt;Thank you so much! I was able to make it work with some additional tweaking, so I wouldnt have to update the padding if I decided to add more 2-column fields. Here's what I added:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fieldset.form-columns-2 .hs-form-field:nth-child(2n +1)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;padding: 0 10px 0 0;&lt;/P&gt;&lt;P&gt;box-sizing: border-box;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/83477"&gt;@media&lt;/a&gt; (max-width: 400px)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;fieldset.form-columns-2 .hs-form-field:nth-child(2n +1)&lt;/P&gt;&lt;P&gt;{padding: 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 19:44:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Help-with-multi-column-form-fieldset-width/m-p/272941#M2538</guid>
      <dc:creator>cpburke</dc:creator>
      <dc:date>2019-05-31T19:44:41Z</dc:date>
    </item>
  </channel>
</rss>

