Archived topic
YouTube video strechted out.
3 replies · Started by Ian on July 10, 2021
Hello, I've configured my single posts to have 70-80 characters in a line with this code and love how it looks.
@media (min-width: 769px) {
.single-post .site-content {
padding-left: 560px;
padding-right: 500px;
}
However, on my laptop and 27 inch monitor the YouTube video on my blog post page is stretched vertically and doesn't show the whole thumbnail Usually they stay in a little box form that shows the whole thumbnail. Anyway to get it to a normal size without ruining the line length? Thanks!
Hi there,
I'd recommend using the block editor so you can use the YouTube block from WordPress core.
Otherwise you'd need to use this method which is out-dated:
https://docs.generatepress.com/article/responsive-videos/
Thanks, will use Beaver Builder!
No problem :)