Center align embedded pdf


I have embedded a PDF document into a siteorigin editor widget, but the pdf appears on the left when previewing the page. The rest of the text in the widget is centered.

Further insight on this issue would be greatly appreciated.

Thank you,


Hello Danielle,

From SiteOrigin Editor widget, switch to Text mode editor, so you’ll see your PDF embed code, wrap it with the following code:

<div style="display:table; margin-left:auto; margin-right:auto;"> 

 <!-- PDF embed code goes here -->


If it doesn’t help, please share your page URL, so I can assist you in better way.


Hi Kharis,

I was playing around with some snippets of code and resolved the issue!

Thanks anyway!


Awesome! Glad to know you got it resolved.

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.