Wix Editor: Stretching An Element To Full Width | Help Center
Có thể bạn quan tâm
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.
In this article- Stretching an element
- FAQs
- Home
- Creating your site
- Using the Wix Editor
- Working with elements
- Wix Editor: Stretching an Element to Full Width
- Stretching an element
- FAQs
Stretching an element
Stretch your elements to full width, and set the margins to display them exactly how you want.To stretch an element:
- Click the element in the editor.
- Click the Stretch icon
. - Enable the Stretch to full width toggle.
- (Optional) Set the margins:
- Click the number field to choose whether to set the margins by px (pixels) or % (percentage of browser width).
- Drag the slider to increase or decrease the size of the margins.
- Certain elements only allow you to set the margins by pixels.
- The margin limit is 190 pixels, or 5% of the browser size.

FAQs
Click a question below to learn more. What elements can I stretch?Currently, you can stretch the following elements:- Horizontal menus
- Horizontal lines
- Galleries:
- Pro galleries
- Grid galleries
- Slider galleries
- Google maps
- Some Wix apps elements (e.g. Wix Blog Post List)
- Strips
- Click the element in your editor.
- Click the Stretch icon
.
- Disable the Stretch to full width toggle, and restore the element to its original size.
automatically stretches the element to the full width of your site, and is only available on certain elements.How does it work on mobile?Elements you have stretched on desktop are also displayed as full width on your mobile site. The margins are not displayed on the mobile version of your site, as the screens are not large enough to display them.Can I stretch a mobile-only element?It is not possible to stretch mobile-only elements. You can only stretch elements you have added in the desktop editor.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 functionDid this help?
Yes|NoHire a ProfessionalGet matched with a Wix Partner who can help you reach your site goals.Start Now
Helpmate
Hello
Need a bit more guidance?Summary of this articleRelated articlesWix Editor: Fixing Spacing and Alignment Issues on Your SiteUnlock personalized helpLog in to get the most out of Helpmate.Log InTừ khóa » Html Stretch Width
-
Html - How To Stretch The Width Of An Element, So That It's 100%
-
The "align-content: Stretch;" - Tryit Editor V3.7
-
Fit-content - CSS: Cascading Style Sheets - MDN Web Docs
-
Font-stretch - CSS: Cascading Style Sheets - MDN Web Docs
-
How To Stretch A Div To Full Width Of Browser Code Example
-
How To Stretch The Div Element? I Want My Div To Be 100% Wide.
-
Full Width Containers In Limited Width Parents - CSS-Tricks
-
Stretch Input Field To Full Width - HTML CSS CSS Form
-
How To Stretch Div To Fit The Container ? - GeeksforGeeks
-
Stretch Input Field To 100% - Gists · GitHub
-
Use Width:auto, Left:0, And Right:0 To Stretch An Absolute Element To ...
-
How To Stretch And Scale An Image In The Background With CSS
-
Html Css How To Get An Image To Stretch 100 Width Of A Container ...
-
Stretch Image To Full Width Of Container?