How Do I Center a YouTube Video in WordPress?
If you run a WordPress powered website you have probably wanted to embed a YouTube video at one time or another. Video can add interactivity and excitement to a blog post. Luckily, WordPress and YouTube make this a very easy process. get youtube views
Centering your YouTube video can be a bit tricky though, especially if you don’t know any coding. This article will teach you a very simple fix though. It will ensure you can center any YouTube video, or any object at all, for that matter.
First you have to get the video into your post. You go to YouTube, click embed (under video), choose your options and copy the HTML code. You then take that code and paste it into the WordPress visual editor. Remember you have to set to HTML, using the button in top right corner. Then you simply paste in your YouTube embed code. Now you have the video in your post or page.