How do I centre align an embedded sign up form on Shopify?

  • 26 January 2022
  • 1 reply

Badge +2

I have created the sign up form on Klaviyo and copied the embed code and entered onto my Shopify site using the Custom Liquid feature on Shopify 2.0 themes. The sign up form sits to the left hand side of the page and I don’t know how to centre align it. Any help?


Image for reference:



Best answer by Dov 27 January 2022, 00:46

View original

1 reply

Userlevel 7
Badge +61

Hi @hookandeye,

Thanks for sharing this with us in the community.

I recommend reviewing my colleague @David To’s reply in the thread below which speaks to this directly:

If you are still having difficulty getting the embed to populate correctly after reviewing the above, you may want to reach out to Shopify to better understand the Custom Liquid feature for Shopify 2.0. It’s possible this tool may be placing the embed snippet in the wrong part of the theme code, I recommend trying to implement the Klaviyo embed the traditional way (directly in the theme code, manually) to make that determination. If it’s still off center then, more likely than not, that tells us there’s conflicting CSS causing the embed to be off center.