How-to-set-Custom-width-and-height.

Setting custom width and height for elements in Elementor Pro is an excellent way to fine-tune the design and create the exact look you’re going for. Whether you’re working with sections, columns, or widgets, Elementor Pro allows you to define custom dimensions with precision. Here’s a step-by-step guide on how to set custom width and height in Elementor Pro:

Custom width and height Setting Area in Elementor:

Setting Custom Width and Height for a Section

Setting Custom Width and Height for a Column

Setting Custom Width and Height for a Witgets

How to set custom Width and Height

How to set custom width and height in Elementor:

1. Setting Custom Width and Height for a Section

A section is a full-width container that holds your content. Setting custom width and height can help you control the overall layout of your page.

Steps for How to set Custom Width and Height in a Section:

Layout Options

Width-Height-of-column.webp

Advance Options

Width Height
  1. Select the Section: Click on the section you want to customize. You’ll see the section settings appear in the left panel.
  2. Go to the Layout Tab:
    • Width: In the Layout tab, you can adjust the Content Width. By default, this is set to Boxed (which gives you a maximum width) or Full Width (which takes up the entire page width).
    • To set a custom width, change the Content Width to Custom. You can then enter a specific value (e.g., 1200px or 80%).
  3. For Full Width Sections:
    • If you want the section to span the full width of the screen, you can set the Content Width to Full Width, but control the padding and the column width inside the section for further customization.
  4. Go to the Advanced Tab for Custom Height:
    • Height: Under the Advanced tab, you can set a Custom Height by enabling the Height option in the Layout section. You can choose between:
      • Min Height: Allows you to set the minimum height for the section (for example, 500px or 60vh).
      • Fixed Height: If you want to set a specific fixed height (e.g., 600px), this can be done here.
  5. You can also use padding to control the internal spacing within the section, effectively adjusting the visual height.
  6. Responsive Control: To adjust the width and height differently on desktop, tablet, and mobile, click on the device icons (Desktop, Tablet, Mobile) next to the width and height settings. This allows you to define custom settings for each device type.

2. Setting Custom Width and Height for a Column

You can also customize the width and height of columns inside a section. This is useful for creating multi-column layouts with different column sizes.

Get Elementor Pro Just
₹499/ Year
Our Other Plugins

Layout Options

Width-Height-of-column.webp

Advance Options

Width-Height.webp

Steps for Set Custom Width and Height in a Column:

  1. Select the Column: Click on the column you want to modify.
  2. Go to the Layout Tab:
    • Width: In the Layout tab, you’ll see an option to control the column width. You can enter a percentage (e.g., 50% for half-width) or use pixel values (e.g., 500px).
    • If you’re using a multi-column layout, you can also adjust the Column Position to control alignment within the section.
  3. Go to the Advanced Tab for Custom Height:
    • Height: In the Advanced tab, you can set the Minimum Height of the column by going to the Layout section and selecting Min Height. You can set a value such as 500px or 50vh (viewport height) for responsive height.
  4. Note: If you have a section with multiple columns and one column has a custom height, it may affect the entire section’s height. Ensure that columns with dynamic content are properly adjusted to avoid layout issues.
  5. Responsive Control: Like with sections, you can adjust the width and height settings per device (desktop, tablet, and mobile) by clicking on the device icons next to the settings.

3. Setting Custom Width and Height for Widgets

Widgets in Elementor can also have custom width and height settings, especially useful for images, buttons, videos, and other media.

Layout Options

Width-Height-of-Witgets-1.webp

Advance Options

Width-Height.webp

Steps for Custom Width and Height in a Widget:

  1. Select the Widget: Click on the widget you want to customize. The widget settings will appear on the left panel.
  2. Go to the Layout Tab:
    • Width: In the Layout tab, you can set the width for the widget. For example, for an image widget, you can set a specific width (e.g., 80% or 500px).
    • Height: Some widgets, like images or videos, also allow you to set a custom height. For an image, you might set the height in the Style tab (e.g., auto, or specific pixel values like 300px).
  3. Go to the Advanced Tab for Padding and Margin:
    • If you want to adjust the space around the widget, use the Padding and Margin settings in the Advanced tab. You can set specific values (e.g., 10px for margin or 20px for padding) or use percentages for more flexible spacing.
  4. Responsive Control: Just like sections and columns, Elementor allows you to adjust widget width and height for different devices using the responsive icons next to each setting.

4.How to Add Custom CSS in Elementor:

Custom-css.webp
  1. Select the Element: Click on the section, column, or widget you want to customize.
  2. Go to the Advanced Tab: Scroll down to the Custom CSS section (only available in Elementor Pro).
  3. Enter the Custom CSS: Paste your custom CSS code for width and height adjustments.

5. Testing and Final Adjustments

After setting custom width and height for your elements, it’s important to preview your changes:

  • Use Preview Mode in Elementor to view how your design looks across different devices (desktop, tablet, and mobile).
  • Make sure to test for any layout issues, especially if you’ve used custom CSS or fixed height values, to ensure everything is responsive and looks great on all screen sizes.
Get Elementor Pro Just
₹499/ Year
Our Other Plugins

Conclusion

In conclusion, knowing how to set custom width and height for elements in Elementor allows you to have full control over your design, ensuring a more tailored and responsive layout. By adjusting the width and height settings, you can enhance the visual appeal and functionality of your website elements, improving both user experience and aesthetics.

Table of Contents