How to set width of YouTube embed?

[ad_1]

Hey, I am new to WordPress and I am working on my website, learning as I go, and I can’t seem to edit youtube embeded elements much. I used to get by this by putting the youtube video in columns and then write the text next to it, but I would like to know if there is a way to set the width of embed to fill the whole page? The only thing I can do when I click on the box is assign CSS classes.

[ad_2]
3 Comments
  1. If you are using Elementor page builder, then it has option to adjust the width according to your requirement. If you are using any other page builder, you need to switch to HTML editor mode to set width manually. Here is an example of that: [https://stackoverflow.com/questions/46672430/how-do-i-change-youtube-embed-video-player-size-in-wordpress](https://stackoverflow.com/questions/46672430/how-do-i-change-youtube-embed-video-player-size-in-wordpress)

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer