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
  • Stretching an element
  • FAQs

Wix Editor: Stretching an Element to Full Width

In this article
  • Stretching an element
  • FAQs
Stretch your elements to full width to make your site more responsive. Stretched elements span the width of your browser, regardless of screen size. 
Once you've stretched an element you can add margins, creating space on its left and right. You can set the margins in pixels so they stay the same across all devices, or in percentage so they adjust to every visitor's browser. 
The stretch option is only available for certain elements. See our FAQs for the full list.

Stretching an element

Stretch your elements to full width, and set the margins to display them exactly how you want.

To stretch an element:

  1. Click the element in the editor.
  2. Click the Stretch icon
  3. Enable the Stretch to full width toggle.
  4. (Optional) Set the margins:
    1. Click the number field to choose whether to set the margins by px (pixels) or % (percentage of browser width).
    2. Drag the slider to increase or decrease the size of the margins.
Notes:
  • Certain elements only allow you to set the margins by pixels.
  • The margin limit is 190 pixels, or 5% of the browser size.
A GIF showing how to stretch a line to full width, then set the margins while changing the unit from px to percentage

FAQs

Click a question below to learn more. 
Note:
You may notice that when you stretch elements, a gap appears between the stretched element and the elements above / below. You can remove the gap by moving the elements, or using the Zoom Out and Reorder function

Helpmate

Hello

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