I recently set up a few iframes and they were stubbornly left aligned despite all the other content being center aligned. Here’s how I was able to fix the issue.
- Go to Appearance –> Customize –> Additional CSS (/wp-admin/customize.php)
- Add this value to your custom CSS
iframe {
display: block;
margin: 0 auto;
}
3. Hit publish and you should be good!
