Jump to content

How to center embedded code?

Recommended Posts

Hi everyone,

I have embedded code for my booking engine. As you can see from the screencapture, the embedded element is not centering as it should. How do I force this? Thanks for any help!

Here is my embed code:

<div class="booqable-product" data-id="polaris-slingshot"></div>

And how it looks:


Screen Shot 2021-05-10 at 12.33.16 PM.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 4 weeks later...
1 hour ago, motion999 said:

I just saw this response. Thanks!


I think you can add 2 spacer blocks on left - right of Code Block to center it?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.