Youtube dimensions not working
-
I’ve noticed today the youtube videos I put in my blog are far too big for some reason. They used to be fine.
I use the Add Media button and just put in the Youtube URL but it goes beyond the width I have set on the page, which is set for 175px margin each side of the page.
Here is an example “hXXps://www.thrivingaudios.com/eckhart-tolle-presence-conscious-breath/”
I’ve tried embeding using the [embed height="" width=""]URL[/embed] method, that does nothing.
I have searched hereon wordpress and on google, tried various methods, including the old &w=560&h=315 and this in my custom CSS area:
.video-container {
display: block;
margin: 1rem auto;
width: 560px;
height: 315px;
}.video-container iframe,
.video-container embed {
width: 100% !important;
height: 100% !important;
}None of it works, I’m now reaching out.
I’m not a trained engineer, but I have a grasp of some of the basics.
Please help
- The topic ‘Youtube dimensions not working’ is closed to new replies.