Jump to content

Help needed to center align Form (embed Active Campaign)

Recommended Posts

Site URL: https://redesign-90-day-biz.squarespace.com/about

https://redesign-90-day-biz.squarespace.com/about

pw: WhorunTheWorld?2

If you scroll down to the "How to launch your dream business in Uncertain Times..." - you'll see a form embedded there. (it's pulling from Active Campaign.) Attached is a screenshot of how the designer would like this to look. I am having all sorts of trouble getting this to look center-aligned, especially in mobile. Even harder is to get the button to appear on a second line - but as long as it's center-aligned, that's what is most important.

Since it's embedded (via a code block), I have little control over the html - more control over the CSS. Can anyone help me out?

Thank you in advance!
Rachel

Screen Shot 2020-11-02 at 2.35.13 PM.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

I made some changes,

image.thumb.png.b092defdf114b799f71264ca03215a40.png

<style>
	._inline-form {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        margin-top: -17px !important;
      }
      ._form-content ._form_element,
      ._form-content ._button-wrapper {
        display: inline-block !important;
        float: none !important;
      }
      ._form-content ._form_element {
        width: auto !important;
      }
      ._form-content ._button-wrapper {
        margin: 0 auto !important;
        display: block !important;
        float: none !important;
        margin: 0 !important;
      }
</style>

You can place it under the html code block

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.