I understand you have to paste the link that you’re embedding without any code wrapping around it, but how do I force the embedded content to be centered? Currently, the default is aligning to the left.
I could modify the core file, but it’s highly discouraged, so I’m asking to see if there’s any hook or filter to get around this.
Thanks!
After some Googling, I found a solution that was originally done for a Twitter embed, but I modified it to work with all oEmbed contents. Keep in mind that for this to work on existing posts, you’ll need to do an “update” for the oEmbed content to refresh from the cache.
Quick and dirty CSS fix I came up with for Twitter oEmbed (
.entry-content
is specific to the theme):Seems to work, YMMV.