Using Sizing Options in Divi | Scoreapps

Using Sizing Options in Divi

Divi Size Options make it easy to adjust the size of sections, rows, columns and modules in Divi.


Divi Size Options make adjusting the size of sections, rows, columns and modules simple.

Size is an essential part of creating attractive websites.

Adjusting the height and width of items in Divi is easy thanks to its Size Options, allowing you to keep your website organized, balanced and adaptable to different devices.


Terms and definitions on size

The Size Settings group is common to all Divi elements and uses many of the same values and properties.

Before we go deeper, we define some of these terms to know what we are working with.

Where to find Divi Settings Options

  • Width: defines the actual width of an element.
    If set to 100%, the item will be as wide as its container permits.

Where to find Divi Settings Options

  • Recommendation:It is recommended to use values in % when setting the width to adapt automatically when you resize the browser window.
    The higher the percentage, the wider the element will be; the smaller it is, the narrower it will be.

  • Maximum width: defines the maximum absolute width allowed for an element.
    For example, if the width is 100% and the maximum width is 80%, the element will only reach 80% because the maximum width takes precedence over width.

  • Alto: defines the actual height of the element.
    Recommendation:It is recommended to set the height in pixels (px) so that the elements remain height when resizing the browser window and remain compatible with mobile devices.

  • Minimum height: defines the minimum height of an element.
    The height of the element shall not be less than the established minimum height. It takes precedence over height value.

    Example:If the height is 200 px and the minimum height is 300 px, then the element will be at least 300 px high.

  • Maximum height: defines the maximum absolute height allowed for an element.
    Example:If the height is 200 px and the maximum height is 150 px, the element will only reach 150 px because the maximum height takes precedence over height value.

  • Alignment: define the position of the design element you are editing. You can align the elements:

    • On the left

    • To the center

    • On the right

    Note:There are some more width and height options available within the special sections. These options are described in more detail in the section onSpecial Sections Sizeof this guide.


Examples of sizing in Divi Sizing OptionsDefault size in Divi

Divi comes preloaded with default sizes that help speed up the design process.

Default:

  • Sections: are set to 100% wide and cover the entire screen.

  • Rows: have an width of 80% by default.

  • Columns: have a width of 100%.

  • Modules: have a width of 100% by default to fill the container in the row.

These default size options remain the same for mobile devices, making your design adaptable.


Default sizing in Divi Sizing Options

Units of length used for size

In the world of style sheets, the size (or length) of an element is expressed by units of length.

Units of length are small letters or symbols that follow a numerical value (10px, 2em, 100%, etc.) to set the length of an element.

Units of length are generally divided into two main categories:

  • Absolutes

  • Relatives


Absolute length units
They are considered absolute because they do not depend on any other element.

These units do not adapt to the size of the browser and remain the same size.

They include the following:

  • pt - points

  • px - pixels

  • in - inches

  • cm - centimeters

  • mm - millimeters

  • pc - spades

Important note:pixels are the only unit of absolute length recommended to use on the web.

The others are mainly used for physical (non-digital) measurements, as in printing.

A pixel unit refers to the size of a point on the device screen (which may vary slightly between devices).

That is why pixels are commonly used for elements that do not need to scale with browser size.


Relative units of length

These units change or adapt according to the size of other elements.

A common example is the percentage, which depends on the size of the parent element.

  • em em em- concerning the font size of the item itself

  • rem rem rem- concerning the font size of the root element

  • vw- relative to 1% of browser window width

  • vmin- relative to 1% of the smaller dimension of the browser (high or width)

  • vmax- relative to 1% of the larger dimension of the browser (high or width)

  • %- concerning 1/100 of the width of the parent element


Suggested units of length

These are the units of length suggested for width, high, margins and fillings:
  • Width: %, vw and px (maximum width)

  • Alto: %, vw and px (maximum maximum)

  • Margins: px, % and vw

  • Filling: px, %, em, vw and vh


Guide to understanding and applying length units of length in Divi style sheets

For more information on units of length, see our guide:
A Guide to Understanding and Applying CSS Length Units in Divi

How to adjust the size in Divi

You can adjust the size options in Divi in two ways:
  • Through the item Settings group

  • Using drag controls in the visual builder


Input and slider values

  • Open the item settings by clicking the gear icon

  • Navigate to tabDesign

  • Click on the options groupSizeto expand it

  • Enter a numeric value or use the slider


How to adjust sizing in Divi Sizing Options

Dragable size controls in Divi

If you prefer to use the visual builder for most editions, you'll love the drag-size features offered by Divi!

Instead of manually opening a setup panel and writing values, you can simply drag to adjust the items on the page and view the results instantly.

This innovation in the interface allows you to easily adjust the width, height, margin and filling of any module, row or section. Learn more about dragable controls here.


Draggable Sizing Controls For Divi

Size of sections, rows and modules

Let's look at the Size Options available within Divi design elements.

Section Size Options

Within the settings of a section, you have the following size options:
  • Width

  • Maximum width

  • Alignment of section

  • Minimum height

  • Height

  • Maximum height

You can drag the slider or enter numerical values in the corresponding field to edit these values.

Section Sizing Options


To set mobile styleshover your cursor over the value you want to change and click on thephoneactivating theResponsive Settingsof Divi.

Three tabs will appear:

  • Desk

  • Tablet

  • Telephone

Browse each other to set specific values.

By default, the mobile size inherits what is set in the desktop view; however, with this option you can define unique values for mobile.

How to set mobile sizes in Divi Sizing Options

Full width size options

In addition to standard width and high options, full width sections have additional size options:
  • Width of content: the elements extend to the full width of the parent element, but in full-width sections you can adjust the width of the internal content.

  • Maximum content width: by setting a maximum width, the internal content will never exceed the value you specify.

Fullwidth Sizing Options


Special Section Size Options


In addition to standard width and high options, special sections include:
  • Match column heights: forces all columns to assume the height of the highest column in the row, maintaining a uniform appearance.

  • Use custom channel width: the space between columns (channel) can be adjusted by a numeric or slider value as a percentage:

    • Value 1 - no space between columns

    • Value 2 - 3% space

    • Value 3 (default) - 5.5% space

    • Value 4 - 8% space

  • Inner width: by default, the elements extend to the full width of the father, but here you can adjust the width of the internal content.

  • Maximum inner width: by setting a maximum width, the internal content will never exceed the indicated value.

Specialty Section Sizing Options


Divi Sizing Options
Row size options


In addition to width and high standard, rows include:
  • Match column heights(same behavior as in special section).

  • Use custom channel widthwith the same values (%) as in special section.

Row Sizing Options


How to adjust columns

There are two ways:

  1. Hover your cursor over the row and click thegearto open adjustments, then change thecolumn structurefrom the drop-down menu. You can also drag and drop the column elements to reorder them.

  2. Hover your cursor over the row, click thecolumnsand select the desired structure.


Module size options

In the module settings, you have:
  • Width

  • Maximum width

  • Section alignment

  • Minimum height

  • Height

  • Maximum height

You can use the slider or enter numerical values.

Module Sizing Options

To set mobile styles, hover your cursor over the desired value and click thephoneenabling responsive settings. Tabs will appearDesk,TabletandTelephoneto define specific values. By default, the mobile size inherits desktop values, but with this option you can set unique values for mobile.

Divi Sizing Options mobile sizing

Tips and best practices for using Size Options

  • Use relative units for widthTo maintain adaptable designs on mobile, it is better to use relative units such as % or vw for width values. This allows the width of the container to be automatically adjusted according to the browser window.

Use relative length units in Divi Sizing Options

  • Consider spacing into account when adjusting sizes
    Spacing (fill) influences the size of internal content. For example, if a container is 100% width and contains filling, the actual content will be lower.

Keep spacing in mind with Divi Sizing Options

  • Adjust size options for mobile
    Although Divi is designed to be responsive, it is a good idea to review your design on mobile phones. Activate the visual builder, click themobilein the lower-left corner of the Divi bar and switch devices using the top drop-down menu.

Adjust sizing options for with mobile Divi Sizing Options


Continue to learn:

  • How to create a fixed pop-up contact form using Size Options

  • How to optimize logo size on mobiles in the full width menu module

  • How to create sections with effect when passing the mouse using new size and overflow options

  • Use the new height and width options to create responsive design

  • Mobile design best practices: how to use vw, vh and rem for fluid pages in Divi



    • Popular Articles

    • How to Create an App for Restaurants (with or without Delivery)

      Text Enter First Steps Once inside the platform, from the main dashboard you will find a series of icons on the left hand side menu. Just click on 'Apps'. Then click on 'Create App' and give it a name. Then you'll get to a screen where you choose the ...
    • APPS: Radio

      The function of Radio allows the addition of radio broadcast within its application. In addition to this function To add this function to your application go to step "Functions" and click on the icon "Radio": Once added you must name this new ...
    • APPS: Webhooks

      The advanced Webhooks feature lets you connect certain events that occur in your App by sending them to a URL called Webhook. You can use a free Webhooks service as Zapier to create automations that can help you with your App business. For example, ...
    • APPS: Audio & Music

      How to add this feature To add this feature to your application go to step "FUNCTIONS" and click on the " iconAudio": Then give this new section of the application a name. Then click on the + icon to add a new Playlist Then add a title and an image ...
    • QR Promotions

      This function would allow you to create discount coupons that would be unlocked by scanning a specific QR code. Once unlocked, the customer can use the discount whenever they want. The coupon would not appear in the application until the user has ...
    • Related Articles

    • Using Divi Transform Options

      Divi transformation options are a set of powerful tools that allow you to manipulate web design in surprising ways, creating depth and attractive visual effects. Divi transformation options allow you to move elements, scale them, rotate them into ...
    • Using Border Options in Divi

      Divi border options allow you to easily add and stylize edges on any item on the page. With Divi Edge Options, it is possible to create truly unique designs for your website. You can apply custom edges to Divi elements, including sections, rows, and ...
    • Using Spacing Options in Divi

      It is easy to customize spacing into sections, rows and modules with Divi Spacing Options. Spacing is an important element in web design. It helps organize your content and keep things clear and balanced. With Divi, it is easy to customize spacing in ...
    • Using Divi Background Options

      Las opciones de fondo de Divi son una potente suite de funciones de diseño que incluyen opciones de color de fondo, degradado y mucho más. Actualizado hace más de un año Las opciones de fondo de Divi van mucho más allá de la capacidad de agregar un ...
    • Using Divi Visibility Options

      Las opciones de visibilidad de Divi te dan control sobre cuándo los elementos son visibles u ocultos. Las opciones de visibilidad de Divi te dan control sobre cuándo los elementos son visibles u ocultos. Esto es útil cuando deseas mostrar u ocultar ...