Download Tipz Theme

How to Center Embedded YouTube Videos in WordPress

November 26, 2009 | In: Computers, Internet, Web Design

One of the common question I get from novice WordPress users is how does one center embedded YouTube Videos in WordPress. Here’s how.

While you can, technically, use the Visual editor to adjust the alignment, the best way, in my opinion is to use the HTML editor and use some good old HTML tags.

All you have to do is to sandwich the embed code (any embed code for that matter) with these tags:

<p style="text-align:center;">[Embed code here]</p>

This would center the video like what you’d see below:

Related posts:

  1. How to Correct Camera Shake Using YouTube
  2. How to play Windows Media Center Files on your Iphone or Ipod
  3. How To Find The Best WordPress Theme
  4. How to Remove Offensive Comments from YouTube
  5. How to Get Awesome WordPress Themes for Free


1 Response to How to Center Embedded YouTube Videos in WordPress

Steveo

February 10th, 2010 at 2:52 am

Thanks for the tip, came in handy!

Comment Form