Website Building » Squarespace » How Do I Center a Squarespace Google Form?

How Do I Center a Squarespace Google Form?

Last updated on December 29, 2022 @ 6:29 pm

centering a Google Form on a Squarespace page is a bit more involved than simply using the HTML tags. To center a Google Form, you’ll need to use some CSS code. Here’s how:

    1. Log in to your Squarespace account and navigate to the page where you want to embed your Google Form.

    2. In the page editor, click on the “Code” block and paste your Google Form code into the box.

    3. Next, click on the “Advanced” tab and add the following CSS code to the “Custom CSS” box:

    #formContainer {
    width: 400px;
    margin: 0 auto;
    }

    4. Save your changes and preview your page. Your Google Form should now be centered on the page.

PRO TIP: If you are not familiar with HTML code, we do not recommend attempting to center a Squarespace Google Form. Doing so could break the form's functionality.
Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.