Hello, I am using the advanced iframe pro plugin.
I added an iframe to the page but it sits to the left of the page. Can we center the iframe?
Any information would be great. Thanks
You can use use the "style" attribute and there you can add the needed styles.
style="margin-left:auto;margin-right:auto"
See: https://www.w3schools.com/css/css_align.asp
Best regards,
Michael
Thank you for replying. I am using Wordpress and the block editor, where would I edit the css? Would this be required for each page/iframe? Thanks
Hi,
you have all options.
If you use the block editor you can add it in the free text field on the right with
style="margin-left:auto;margin-right:auto"
If you like to have it for all iframes: Got to the administration of advanced iframe and add the setting "style" on the basic tab. I will then be applied to all iframe.
Best regards,
Michael
Hi Michael,Thanks for the reply and specifiying where to put the code.
I have tried both options, however the iframe won't move from the left of the screen.
Is it possible to request support and provide site details in private?
Thank you