---
title: "How do I set the width of a Youtube video embed element?"
date: "2018-03-28T16:02:52+00:00"
summary: "Learn how to control the width of your YouTube video embeds with CSS. Discover responsive design techniques and custom styling options to perfectly fit videos into your web layout."
image:
type: "article"
url: "/drupal-starter-kits/add-ons/site-studio/help/64686-how-do-i-set-width-youtube-video-embed-element"
id: "e2ccc47c-8dfe-41a1-90fd-d144219e2a35"
---

The Youtube video embed is responsive so it should expand to the width of its parent. If you do need to set a width you can apply the Width CSS property through the Style Builder.

The Youtube video embed element is responsive so it will always fill it's parent element. If you need to fix the width or give it a maximum or minimum width you can apply a style to it. This is possible because the Youtube video embed element has a wrapping <div> which is what the style will be applied to.