How Do I Change the Size of a Video in Webflow?

Webflow is a powerful web design platform that allows users to create stunning websites without writing a single line of code. One common question that many Webflow users have is, “How do I change the size of a video in Webflow?”

Changing the size of a video in Webflow is actually quite simple. There are a few different methods you can use depending on your specific needs and preferences. In this tutorial, we will explore three different approaches to resizing videos in Webflow.

Method 1: Using the Video Element

Webflow provides a Video element that allows you to embed videos directly onto your website. To change the size of the video using this method, follow these steps:

Step 1: Drag and drop a Video element onto your page from the Elements panel.

Step 2: Select the Video element and navigate to the Settings tab in the right-hand sidebar.

Step 3: In the Width and Height fields, enter your desired dimensions for the video. You can specify these dimensions in pixels (e.g., “500px” for width) or percentages (e., “50%” for width).

Step 4: Preview your changes by clicking on the eye icon in the top-right corner of the Webflow Designer.

Method 2: Using Custom Code

If you prefer more control over your video’s size and appearance, you can use custom code to achieve your desired result. Here’s how:

Step 1: Drag and drop an Embed element onto your page from the Elements panel.

Step 2: Double-click on the Embed element to open its settings.

Step 3: Paste your video embed code into the code field. This code can be obtained from platforms like YouTube or Vimeo.

Step 4: Wrap the video embed code with a

element and add a class to it. For example:



Step 5: Go to the Style tab in the right-hand sidebar and create a new class called “video-container”.

Step 6: In the video-container class, add the following CSS code:

.video-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
}video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;

This CSS code will create a responsive video container that will adjust its size based on the aspect ratio of the video.

Method 3: Using CSS Styling

If you want to change the size of an existing video without altering its embed code, you can use CSS styling. Follow these steps:

Step 1: Select the video element you want to resize.

Step 2: Navigate to the Style tab in the right-hand sidebar.

For example, if you want to make a video twice as wide as its original size, you can set the width to “200%”.

  • Tips for resizing videos in Webflow:
  • You can use percentage values for width and height to create responsive videos that adapt to different screen sizes.
  • If your video appears cropped or distorted after resizing, double-check that your aspect ratio is correct.
  • If you’re using custom code or CSS styling, it’s always a good practice to preview your changes on different devices to ensure consistent sizing across platforms.


Changing the size of a video in Webflow is a simple process that can be accomplished using the built-in Video element, custom code, or CSS styling. Whether you prefer a quick and straightforward approach or more advanced customization options, Webflow has you covered.

Experiment with different methods to find the one that works best for your specific needs. Happy resizing!