<?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: Form-centering is targeting the right border in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206393#M8233</link>
    <description>&lt;P&gt;Almost there! Now the form is centered, but the submit-button is slightly on the right&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 11:51:31 GMT</pubDate>
    <dc:creator>tette_engage</dc:creator>
    <dc:date>2018-09-12T11:51:31Z</dc:date>
    <item>
      <title>Form-centering is targeting the right border</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206390#M8230</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to look for answers in previous posts, but everybody seemed to have slightly different issues regarding centering a form. I have tried using horizontal spacers, to no avail. When i use custom CSS, i get the form to center from its right border, like this:&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="Screen Shot 2018-09-12 at 14.09.23.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/11720iA199C4995CD025EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-09-12 at 14.09.23.png" alt="Screen Shot 2018-09-12 at 14.09.23.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The most recent code I tried is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;form.hs-form,&lt;BR /&gt;.form-center .hs_cos_wrapper .form-title {&lt;BR /&gt;max-width: 600px;&lt;BR /&gt;display: block;&lt;BR /&gt;margin: auto !important;&lt;BR /&gt;text-align: center;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I gave the form the css class of form-center, and I know the code does target the form because the text gets centered. I have tried having the form on its own, and inside a module (even tried classifying the module and targeting that one with the css). If I have mas-width: 50%, the box gets smaller and logically brings the form closer to the center. I can add padding to the left, but this becomes problematic with varying screen sizes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Heres a link to a page with the form:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.prometheusone.io/-temporary-slug-3e2277e7-f080-417a-bad5-2110d5bf799f?hs_preview=LUaZsPhC-6165934397" target="_blank"&gt;http://www.prometheusone.io/-temporary-slug-3e2277e7-f080-417a-bad5-2110d5bf799f?hs_preview=LUaZsPhC-6165934397&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:43:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206390#M8230</guid>
      <dc:creator>tette_engage</dc:creator>
      <dc:date>2018-09-12T11:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Form-centering is targeting the right border</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206392#M8232</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/70145"&gt;@tette_engage&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#hs_form_target_module_1536670727023670 {
    margin: auto;
}&lt;/PRE&gt;&lt;HR /&gt;&lt;P&gt;If this answer helped, please, mark as solved &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;tim@belch.io | &lt;A href="https://forms.belch.io" target="_blank"&gt;forms.belch.io&lt;/A&gt; | Design your own Beautiful HubSpot Forms; No coding necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drop by and say Hi to me &lt;A href="http://slack.belch.io/" target="_blank"&gt;on slack&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:48:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206392#M8232</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2018-09-12T11:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Form-centering is targeting the right border</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206393#M8233</link>
      <description>&lt;P&gt;Almost there! Now the form is centered, but the submit-button is slightly on the right&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:51:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206393#M8233</guid>
      <dc:creator>tette_engage</dc:creator>
      <dc:date>2018-09-12T11:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Form-centering is targeting the right border</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206394#M8234</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/70145"&gt;@tette_engage&lt;/a&gt;&amp;nbsp;- It's technically centered, it's just that the button width is wider than your form width, giving the appearance of off center.&lt;/P&gt;&lt;P&gt;You should add this css to widen your form a bit:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#hs_form_target_module_1536670727023670 form.hs-form, .form-center .hs_cos_wrapper .form-title {
    max-width: 600px;
}&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:53:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206394#M8234</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2018-09-12T11:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Form-centering is targeting the right border</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206398#M8235</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Ah! I see. That fixed it, perfect! Thanks&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.hubspot.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 12:01:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206398#M8235</guid>
      <dc:creator>tette_engage</dc:creator>
      <dc:date>2018-09-12T12:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Form-centering is targeting the right border</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206400#M8236</link>
      <description>&lt;P&gt;Awesome, just checked it out, looks good.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 12:03:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/206400#M8236</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2018-09-12T12:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Form-centering is targeting the right border</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/335867#M16401</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I center a form created on hubspot, yet when posted on my external website, the form aligns to the left. &amp;nbsp;I've read a few of the help posts and responses about CSS and spacers. &amp;nbsp;I don't believe I have access to CSS and can't locate where the spacers are. &amp;nbsp;Can someone helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's how the form looks: &amp;nbsp;&lt;A href="https://acceleratedcourtreporting.com/pages/schedule-a-deposition" target="_blank"&gt;https://acceleratedcourtreporting.com/pages/schedule-a-deposition&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 19:33:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/335867#M16401</guid>
      <dc:creator>Accelerated</dc:creator>
      <dc:date>2020-04-30T19:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Form-centering is targeting the right border</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/335888#M16402</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/129557"&gt;@Accelerated&lt;/a&gt;&amp;nbsp;- you can add the following CSS to your page to fix this&lt;/P&gt;
&lt;PRE&gt;&amp;lt;style&amp;gt;
#hs-form-iframe-0 {width: 500px!important;margin:auto!important;}
&amp;lt;/style&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Apr 2020 20:38:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Form-centering-is-targeting-the-right-border/m-p/335888#M16402</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2020-04-30T20:38:14Z</dc:date>
    </item>
  </channel>
</rss>

