Acquia Cohesion renames to Site Studio from version 6.2. Tell me more.

How do I set the width of a Youtube video embed element?

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.

DX8 knowledge base icon

Frequently asked questions

Get instant answers to common questions. Available online 24/7.

Find answers

Raise a ticket icon

Raise a support ticket

To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

Raise support ticket


Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.