<?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: Inline Signups in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/456108#M23962</link>
    <description>&lt;P&gt;I'm here with the same question, and having trouble using the code provided. I took two actions and need help with a third action item in hopes to make it work on my site:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In order to embed everything on my CMS (Webflow), the code needs to live in an HTML embed element, so I dropped the provided float code into a &amp;lt;style&amp;gt; tag, and also included the &amp;lt;script&amp;gt; from HubSpot with the form info.&lt;/LI&gt;&lt;LI&gt;The form itself has the Raw HTML option enabled in HubSpot.&lt;/LI&gt;&lt;LI&gt;This is where I need some guidance—In the comment, you said,&amp;nbsp;&lt;SPAN&gt;".subscription_wrap is a fictitious class for a wrapper to your subscription module," but I'm newer to code and I don't know what I should be changing the class to? I'm seeing the form appear on my site, but still having trouble making the Submit button sit inline. I'm thinking once I change this class that it would work, but I don't know what I need to be targeting.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 16:31:09 GMT</pubDate>
    <dc:creator>MMoe</dc:creator>
    <dc:date>2021-07-08T16:31:09Z</dc:date>
    <item>
      <title>Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208419#M8414</link>
      <description>&lt;P&gt;Hi, I am working on hubspot form and want to make input feild and the submit button inline to each other, tried using CSS&amp;nbsp;transform: translate(290px, -83px); and the submit button gets inline with the input but whenever I click in the input feild and then click outside of it without typing any email address in the input , the submit button gets a shift of Y-axis downwards. Please help with this one.&lt;/P&gt;&lt;P&gt;Thanks In Advance&lt;/P&gt;</description>
      <pubDate>Sat, 22 Sep 2018 08:12:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208419#M8414</guid>
      <dc:creator>Shaykoo</dc:creator>
      <dc:date>2018-09-22T08:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208430#M8420</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/71253"&gt;@Shaykoo&lt;/a&gt;&amp;nbsp;- give us a preview link, we can probably give you some code. I find it easier to use jquery to move the form fields next to each other.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Sep 2018 21:39:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208430#M8420</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2018-09-22T21:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208449#M8421</link>
      <description>&lt;P&gt;&lt;A href="https://app.hubspot.com/design-previewer/3906991/templates/6186383412" target="_blank"&gt;https://app.hubspot.com/design-previewer/3906991/templates/6186383412&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the preview link, please help with putting the submit button in line with input .&lt;/P&gt;</description>
      <pubDate>Sun, 23 Sep 2018 07:03:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208449#M8421</guid>
      <dc:creator>Shaykoo</dc:creator>
      <dc:date>2018-09-23T07:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208454#M8423</link>
      <description>&lt;P&gt;unfortunatly this is&amp;nbsp;a preview link which is only&amp;nbsp;accessible by users, which are linked to the project/hub.&lt;/P&gt;&lt;P&gt;To "generate"/get a public preview link you'll have to do following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the (new) design manager:&lt;/P&gt;&lt;P&gt;- click on "preview" and select "preview without display options"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the "page builder":&lt;/P&gt;&lt;P&gt;- click on the eye symbol in the top left corner and copy the link&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Sun, 23 Sep 2018 14:09:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208454#M8423</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2018-09-23T14:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208472#M8426</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/71253"&gt;@Shaykoo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The default Hubspot subscription form consists of a form containing 3 divs wrapping inputs and a div.actions wrapping the submit button. 2 of the divs wrapping inputs are for hidden inputs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To make the submit button go inline with the text field you have to do what you would do any time you want to make this happen. play off the parent container and force the child items' width in percentages. Choose one of the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Floats&lt;/P&gt;
&lt;PRE&gt;.subscription_wrap form.hs-form:after {
    content: "";
    display: table;
    clear: both;
}

.subscription_wrap form.hs-form div:first-of-type,
.subscription_wrap form.hs-form div.actions {
    float: left;
    box-sizing: border-box;
}

.subscription_wrap form.hs-form div:first-of-type {
    width: 60%;
}

.subscription_wrap form.hs-form div.actions {
    width: 40%;
}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Inline-block&lt;/P&gt;
&lt;PRE&gt;.subscription_wrap form.hs-form div,
.subscription_wrap form.hs-form div.actions {
    display: inline-block;&lt;BR /&gt;    box-sizing:border-box;
}

.subscription_wrap form.hs-form div:first-of-type {
    width: 60%;
}

.subscription_wrap form.hs-form div.actions {
    width: 35%;
}&lt;/PRE&gt;
&lt;P&gt;Inline-block adds extra space (white space) between inline-block elements from your code. if you remove all white space around the elements in your code that are set to "inline-block" then you can set the elements to equal 100% of the parent container, otherwise you have to leave some buffer room to allow for the fixed pixel spacing caused by the white space between the elements.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Flexbox&lt;/P&gt;
&lt;PRE&gt;.subscription_wrap form.hs-form:after {
    content: "";
    display: table;
    clear: both;
}

.subscription_wrap form.hs-form div:first-of-type,
.subscription_wrap form.hs-form div.actions {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
}

.subscription_wrap form.hs-form div:first-of-type {
    flex: 2;
    -webkit-flex: 2;
    -moz-flex: 2;
    -ms-flex: 2;
    -o-flex: 2;
}

.subscription_wrap form.hs-form div.actions {
    flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
}&lt;/PRE&gt;
&lt;P&gt;You'll most likely need to manipulate the email input and submit button width after this. This is structuring the containers not styling the elements themselves.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In all of these examples .subscription_wrap is a fictitious class for a wrapper to your subscription module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need help? &lt;A href="https://www.upwork.com/o/companies/_~0124e15ff34efb3871/" target="_blank" rel="noopener"&gt;Hire Us Here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 09:26:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208472#M8426</guid>
      <dc:creator>Jsum</dc:creator>
      <dc:date>2019-05-31T09:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208488#M8428</link>
      <description>&lt;P&gt;&lt;A href="https://preview.hs-sites.com/_hcms/preview/template/multi?is_buffered_template_layout=true&amp;amp;portalId=3906991&amp;amp;tc_deviceCategory=undefined&amp;amp;template_layout_id=6186383412&amp;amp;updated=1537697338466" target="_blank"&gt;https://preview.hs-sites.com/_hcms/preview/template/multi?is_buffered_template_layout=true&amp;amp;portalId=3906991&amp;amp;tc_deviceCategory=undefined&amp;amp;template_layout_id=6186383412&amp;amp;updated=1537697338466&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;would this works?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 07:21:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208488#M8428</guid>
      <dc:creator>Shaykoo</dc:creator>
      <dc:date>2018-09-24T07:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208493#M8429</link>
      <description>&lt;P&gt;Thanks alot it's working. I didn't want the white space so I have removed tge inline-block section. There is just one problem the submit button is in-line with the input feild but the button is bit downwards like 2-3px . Tried using the classes .action....&lt;SPAN class="webkit-html-attribute-value"&gt;hs-button primary large, but it's not shifting to the level of input. How could we do it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 08:28:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208493#M8429</guid>
      <dc:creator>Shaykoo</dc:creator>
      <dc:date>2018-09-24T08:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208501#M8430</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/71253"&gt;@Shaykoo&lt;/a&gt;, make sure you only choose&amp;nbsp;&lt;STRONG&gt;one&lt;/STRONG&gt; of the above options. If you don't want to use the inline-block option then go with flexbox&amp;nbsp;&lt;STRONG&gt;or&amp;nbsp;&lt;/STRONG&gt;floats.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should use your browser's inspector tool to check the button for a margin, or the div.action container for a padding that is causing the space. If you share a shareable preview of the page I can look at it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I answered your original question please mark the solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;**Edit: I see that you solved the spacing issue with 'transform: translateY(9px)'. There is a top and bottom margin on the submit button, and top padding on wrappers around the email input. This fixes it also:&lt;/P&gt;
&lt;PRE&gt;form div.actions input.hs-button {
    margin-top: 0;
    margin-bottom: 0;
}

form  div.hs-form-field,
 form  div.hs-form-field div.input {
    padding-top: 0;
}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need help? &lt;A href="https://www.upwork.com/o/companies/_~0124e15ff34efb3871/" target="_blank" rel="noopener"&gt;Hire Us Here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 09:26:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/208501#M8430</guid>
      <dc:creator>Jsum</dc:creator>
      <dc:date>2019-05-31T09:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/435976#M22998</link>
      <description>&lt;P&gt;I came across this thread looking for a way to make a simple one-field Hubspot form inline: Label --&amp;gt; Field --&amp;gt; Submit button. But when I try the solution explained in this thread, it doesn't work. Can someone take a look and let me know what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://datatecture.datazoom.io/" target="_blank"&gt;https://datatecture.datazoom.io/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The form is at the bottom of the page above the footer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 18:17:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/435976#M22998</guid>
      <dc:creator>JThibeault</dc:creator>
      <dc:date>2021-05-10T18:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/435980#M23000</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/189058"&gt;@JThibeault&lt;/a&gt;&amp;nbsp;- Your form is in an iframe so, it's not going to be able to be styled. Depending on your HS plan, you could take it out of the iframe by choosing to remove the default HS styling on the form&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 18:26:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/435980#M23000</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2021-05-10T18:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/456108#M23962</link>
      <description>&lt;P&gt;I'm here with the same question, and having trouble using the code provided. I took two actions and need help with a third action item in hopes to make it work on my site:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In order to embed everything on my CMS (Webflow), the code needs to live in an HTML embed element, so I dropped the provided float code into a &amp;lt;style&amp;gt; tag, and also included the &amp;lt;script&amp;gt; from HubSpot with the form info.&lt;/LI&gt;&lt;LI&gt;The form itself has the Raw HTML option enabled in HubSpot.&lt;/LI&gt;&lt;LI&gt;This is where I need some guidance—In the comment, you said,&amp;nbsp;&lt;SPAN&gt;".subscription_wrap is a fictitious class for a wrapper to your subscription module," but I'm newer to code and I don't know what I should be changing the class to? I'm seeing the form appear on my site, but still having trouble making the Submit button sit inline. I'm thinking once I change this class that it would work, but I don't know what I need to be targeting.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 16:31:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/456108#M23962</guid>
      <dc:creator>MMoe</dc:creator>
      <dc:date>2021-07-08T16:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Signups</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/573957#M27333</link>
      <description>&lt;P&gt;Hi, I have a question on the same type of issue, but I want my form fields and submit button to appear all on one line. However, it seems like the styling of the form fields is set to stack the submit button below the form fields, please help.&lt;/P&gt;&lt;P&gt;&lt;A href="https://rebecca.daystar.com/on-air-with-rebecca-home-new" target="_blank" rel="noopener"&gt;Here is the page&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 21:29:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Inline-Signups/m-p/573957#M27333</guid>
      <dc:creator>Daystar</dc:creator>
      <dc:date>2022-02-10T21:29:07Z</dc:date>
    </item>
  </channel>
</rss>

