How to Center an Image or Video in WordPress

wordpress logo

Man, I had trouble with this one for a while. Just clicking on the center icon wasn’t enough. I was using the simple <center>IMAGE</center> code for awhile. It wasn’t working at all. So what do you do when the <center> code isn’t working???? I must have Googled it 100 times. But at 101 times I got the webpage. Forgive me that I forgot it already. But I did remember the code.

Here’s how you center a video or image in WordPress:

<div style=”text-align: center;”>HERE’S YOUR IMAGE/VIDEO</div>

Good WordPress code to know.


Leave a Comment

seo packagespress release submissionsocial bookmarking services
  • Twitter