Jump to content

How to center a javascript code block

Recommended Posts

Site URL: https://www.weddingonepager.com/take-the-wedding-styles-quiz

I use Interract quiz maker as a lead magnet on my site. I embedded their code using the javascript option (which I had to do so I could redirect users to a results page). But the block appears slightly off center. I tried wrapping it with <div align="center"> <div> - which did not work. Any advice is MUCH appreciated.

Screenshot of problem and embed code attached.

Any help much appreciated. Total #newbie over here and Interract support was not helpful.


Screen Shot 2020-04-29 at 2.54.27 PM.png

Screen Shot 2020-04-29 at 2.57.51 PM.png

Link to comment
  • Replies 1
  • Views 389
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • 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.