header-logo
Getting started with WixBuild your website and business with Wix. Try using our AI tools to create your website, customize templates, or hire professionals to build or enhance your online presence.
Creating a websiteRead how to use the Wix Editor and manage content on your site. Discover how to protect your visitors' privacy and make your site accessible.
Account & billingReview your account settings, manage your subscriptions and plans and understand your invoices.
Using the Wix mobile appsUse our mobile apps to run your business efficiently on the go and set up a dedicated app for your site members to stay in touch.
Connecting a domainFollow our step-by step guides to learn how to purchase, connect or transfer a domain for your site, and find out how to keep your site’s data secure.
Managing your businessGet tools to grow your business and web presence. Find the right tools for your specific needs, set up online payments and keep track of your site's analytics.
Promoting your siteLearn to make your site more visible promoting it on search engines, sending emails and running paid ads. Improve your online presence with practical tips.
Studio, Partners & EnterpriseGet the most out of your Studio or Enterprise account with advanced features that'll help you work more efficiently.
Need more help?Find solutions for site performance and technical issues, learn about issues we’re working to fix or contact us for help.
placeholder-preview-image
Wix LearnImprove your skills with our courses and tutorials.
Wix BlogGet tips for web design, marketing and more.
SEO Learning HubLearn to increase organic site traffic from search engines.
Website developmentBuild a custom site using our full-stack platform.
Hire a ProfessionalGet matched with a specialist to help you reach your goals.
placeholder-preview-image
In this article
  • Step 1 | Find and re-position elements in the Layers panel
  • Step 2 | Check the page edges
  • Step 3 | Change the Overflow Content setting of the page
  • Step 4 | Check the section's height
  • Troubleshooting

Studio Editor: Troubleshooting Gaps and Horizontal Scroll Bars

In this article
  • Step 1 | Find and re-position elements in the Layers panel
  • Step 2 | Check the page edges
  • Step 3 | Change the Overflow Content setting of the page
  • Step 4 | Check the section's height
  • Troubleshooting
While building a site in the Studio Editor, you may notice unwanted gaps and horizontal scroll bars. Use the steps in this article to learn what you should check, and ensure that they don't appear to visitors on any screen size.
A GIF showing a live site that needs to be horizontally scrolled across in order to view content.

Step 1 | Find and re-position elements in the Layers panel

If an element is outside its section boundaries, a blank gap is automatically created to make the element fully visible. Use the Layers panel to see a list of your page elements, and click each one to check and re-position them as needed.

To find and re-position elements in the Layers panel:

  1. Click Layers  on the left side of the editor.
  2. Select an element to find it on the page. 
  3. Re-position the element using the following tools:
An image is selected in the Layers panel. The cursor is hovering over the width field in the Inspector panel.

Step 2 | Check the page edges

While an element may be positioned inside a section, its edges could still cross the page's boundaries and create a white gap and / or a horizontal scroll bar. This often happens with text elements. 
Click each section and hover over all of the elements close to the edges of the page. If any of them are overflowing, you can move or resize them as needed.
A studio editor site. The cursor is hovering over an image, which goes beyond the page's boundaries.

Step 3 | Change the Overflow Content setting of the page

You can hide a page's overflow content to prevent white gaps and horizontal scroll bars from automatically being displayed on the page. This setting "clips" the edges of the page, so any overflowing elements (or parts of elements) are cropped. 

To change the overflow content setting:

  1. Select the page layer:
    1. Go to the relevant page.
    2. Click Layers  on the left side of the editor.
    3. Click Page.
  2. Click the Open Inspector icon  at the top right of the editor.
A screenshot of opening the Inspector panel in the Studio Editor.
  1. Click the Design tab .
  2. Select Hide from the Overflow content drop-down.
The Inspector panel of a page in the studio Editor. The cursor is hovering over the Hide option.

Step 4 | Check the section's height

The height and / or minimum height you set for a section or CSS Grid may create a gap. If you're using the 'Fit to screen' behavior, or the vh measurement (which is relative to the viewport height), the gap may appear bigger on larger screens. 
You can use the Inspector panel to check the CSS Grid and section's sizing, and change their height and / or minimum height as needed. 

To check the section's height:

  1. Select the relevant section.
  2. Click the Open Inspector icon  at the top right of the editor.
A screenshot of opening the Inspector panel in the Studio Editor.
  1. Check and adjust Height and Min H settings under Size
The Inspector panel of a section in the studio Editor. The cursor is hovering over the Height field.

Troubleshooting

If you’re still seeing unwanted gaps on your client's live site, learn what else you can do to remove them or check out this video tutorial to troubleshoot the issue. 

Helpmate

Hello

Need a bit more guidance?
Unlock personalized helpLog in to get the most out of Helpmate.