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
  • Applying the sticky position to an element or section
  • Removing the sticky position
  • Useful tutorials

Studio Editor: Creating Sticky Elements and Sections

In this article
  • Applying the sticky position to an element or section
  • Removing the sticky position
  • Useful tutorials
Make a section or an element stick to the page as visitors scroll up and down. When the element or section reaches the visitor's viewport, it sticks to the top, bottom or both. You can set the offset, which is the distance from the top or bottom. 
Go to our Wix Studio Academy to check out additional Wix Studio webinars, tutorials, and courses.
Did you know?
You can add a header scroll effect to change the way it looks as visitors scroll up and down. For example, make the header change colors on scroll, or move it out of the way to help visitors focus on the page.

Applying the sticky position to an element or section

  1. Go to your editor.
  2. Select the relevant section or element.
  3. Click the Open Inspector icon  at the top right of the editor.
A screenshot of opening the Inspector panel in the Studio Editor.
  1. Scroll down to Position.
  2. Select Sticky from the Position type drop-down.
  3. Choose where the section/element sticks to: Top, Bottom, or Bottom and top.
  4. (Optional) Enter an offset value to create space above or below.
  5. Select the Keep in front checkbox to enable or disable this option:
    • Enabled: The section / element is visually in the front, but doesn't change its position in the page's DOM order.
    • Disabled: The visual position of the section or element matches its position in the page's DOM order. Depending on how the page is organized, the element / section may not be in the front.
The position drop down in the inspector panel. Sticky has been selected, and the cursor is clicking the 'stick to' drop down.
Note:
DOM order is an important part of site accessibility, performance, and search result rankings. We therefore recommend enabling Keep in front—so you can get the visual effect you want, while maintaining the page's structure.

Removing the sticky position

You can always revert elements and sections back to the default position. This means they no longer stick to the screen when reaching the viewport, they stay in their position.

To remove the sticky position:

  1. Go to your editor.
  2. Select the relevant section or element.
  3. Click the Open Inspector icon  at the top right of the editor.
A screenshot of opening the Inspector panel in the Studio Editor.
  1. Scroll down to Position.
  2. Select Default from the Position type drop-down.
Screenshot of a stack element on the canvas, next to the Inspector panel. The stack position type is set to default

Useful tutorials

There are so many interesting effects you can create with sticky elements and sections. Check out these videos from the Wix Studio Academy and explore your options:

Helpmate

Hello

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