Streaming live at 10am (PST)

How to center an embedded widget?


#1

Hey Guys,

Any idea on how I centre this?
Take a look at the pic.

Here is the public URL link: https://webflow.com/design/easypayment?preview=08b365743ae292ad2e491a9dbe5b501a
I've already tried setting margin left and right to auto.

Many Thanks


#2

The reason it's not being centered even though it's set to display:block and margin-left and right auto, is because the embedded element has a width that has to be overridden.

So give it a width of 120px or something and it should center.


#3

Thanks @thesergie that worked!


#4

#5