How to Add an iframe Border Around a Video Embed


How to Add an iframe Border Around a Video Embed
Allison Hanson

Do you want to add an iframe border around your video embed? Recently a user asked us for a way to add a border around their videos in WordPress. Since you can use both iframe and oEmbed to add videos in WordPress, we will show you how to add an iframe border around a video embed as well as how to add a border around oEmbed videos in WordPress.

How to Add an iframe Border Around a Video Embed
Lorena Silva

Do you want to add an iframe border around your video embed? You can use both iframe and oEmbed to add videos in WordPress. In this video, we will show you how to add an iframe border around a video embed.

How to Get an Iframe Border Around An Embedded Video
Bonnie Jenkins

Today, I will demonstrate how to add an Iframe border to videos in WordPress using some simple code. Whenever you embed a video, image, or GIF in a WordPress post or page, you can view the code used to embed that media into the post or page. You can edit this code to add the Iframe border in and it is very easy to accomplish. Keep in mind there is no bulk option for adding borders and you will have to repeat these steps on every video you would like to add a border to.

How to Add an iframe Border Around a Video Embed
Aurea Terrell

Do you want to add an iframe border around your video embed? You can use both iframe and oEmbed to add videos in WordPress. In this video, we will show you how to add an iframe border around a video embed.

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Text version of this tutorial:
http://www.wpbeginner.com/wp-tutorials/how-to-add-an-iframe-border-around-a-video-embed/

Check us out on Facebook:
https://www.facebook.com/wpbeginner

Follow us on Twitter:

Join our circle on Google+:
https://plus.google.com/+wpbeginner/

Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com/

Summary of this Tutorial:

Open the post where the video is.

Go to the text editor and find the code for the embed.

Add some inline style code and you’re done.

If you want to do that for all your videos, just add a CSS class for when you add the iframe.

How do I add padding and border around an embedded video?
Kathryn Reese

So all code block elements would be affected by this change. If that’s not an issue for you, then we can locate the right element to adjust – but remember that all code blocks will be affected by this change.

Be the first to comment

Leave a Reply

Your email address will not be published.


*