Studio Editor: Troubleshooting Unwanted Gaps in a Section

3 min read
If you notice unwanted gaps appearing in a section on your live site, it is often caused by the way responsive behavior is set for your section and its elements. When a section and its elements have conflicting responsive settings, gaps can appear as the screen size changes. 
A screenshot showing an unwanted gap in the Studio Editor.
In the example above, the form’s responsive behavior is set to relative width, meaning its width adjusts based on the size of its parent container (e.g., a grid cell), but its height remains fixed. The section, however, is set to scale proportionally, so both its width and height adjust proportionally as the screen size changes. This creates a large gap on bigger screens as the section gets taller, but the form doesn't.
Learn more about the different responsive behaviors.

Removing the gap

First you need to check the responsive behavior of the element and the section to see if they are aligned. If the responsive behavors are not aligned, change them as instructed below.

To remove the gap:

  1. Select the element in the section.
  2. Click the Open Inspector icon  at the top right of the editor.
  3. Select Relative width from the Responsive behavior drop-down.
  4. Select the relevant section.
  5. Click the Open Inspector icon  at the top right of the editor.
  6. Select Fixed height from the Responsive behavior drop-down.
After adjusting the responsive behavior, test your design to ensure no gaps appear on larger screens by resizing the canvas.

Video tutorial

Watch a live demo resolving this issue.

FAQs

Click a question below to learn more.