LogoLogo
Back to PageFly.ioVideo Tutorials
English 🇺🇸
English 🇺🇸
  • PageFly Help Center
  • Getting Started
    • Overview
    • Quick start
      • How to Install PageFly
      • How To Use PageFly | Get started in 5 mins
      • How to Create a New Page from PageFly Templates
      • How can I access the PageFly LiveChat?
      • How PageFly work with your Shopify theme?
    • Pricing and billing
      • PageFly pricing plan
      • How PageFly billing work?
      • What happens if I uninstall PageFly?
      • PageFly refund policy
  • Pages & Sections Creation
    • Overview
    • General
      • Setting up PageFly Pages
      • What type of pages that PageFly support?
      • How to use PageFly pages and sections?
      • How to export and import PageFly pages and sections
    • Pages
      • How to create a Homepage with PageFly?
      • How to create a Product page with PageFly
      • How to create a Collection page with PageFly
      • How to create a Blog post page with PageFly
      • How to create a Password page with PageFly
      • How to create a FAQs page with PageFly?
      • How to create a Coming soon page with PageFly
      • How to create an About us page with PageFly
      • How to create a Contact Us page with PageFly
      • How to create a Landing Page with PageFly?
      • How to create A/B testing page with PageFly
    • Sections
      • How to use premade section and saved section to build page?
      • How to create a basic section with image and text
      • How to use parallax effect in a PageFly section?
      • How to create a full-width section in PageFly
      • How to make a sticky section without code in PageFly
  • Page Structure & Elements
    • Overview
    • Editor
      • User interface
        • How to work with PageFly editor?
        • How to work with PageFly on mobile?
        • Page Editor – Element Inspector
        • Page Editor - General Tab
        • Page Editor - Styling Tab
        • How to use Page outline to organize page layout?
        • How to make impressive mobile responsive page?
        • How to use autosave and version history ?
      • Extra Functions
        • How to manage custom option swatches for product variants?
        • How to use Global Styles to customize styles to use for all PageFly pages
        • How to use trash to manage deleted pages, sections, and media files?
        • How to Add Custom Font in PageFly
        • How to manage image and video in PageFly?
    • PageFly Elements
      • Universal Elements
      • Containers
        • Layout
        • Slideshow
        • Tabs
        • Accordion
        • Content List
      • Basic
        • Heading
        • Paragraph
        • Button
        • List
        • Icon
        • Divider
        • HTML/Liquid
      • Media
        • Image
        • Youtube video
        • Vimeo video
        • HTML video
        • Soundcloud
      • Social
        • Instagram feed
        • Facebook like & share
        • Facebook feed
        • Twitter feed
      • Advanced
        • QR code
        • Table
        • Countdown
        • Google map
        • Progress
        • Mailchimp form
    • Shopify elements
      • Custom Content
        • App blocks
      • Product
        • Product Variant Metafield
        • Product list
        • Product details
        • Product media
        • Product title
        • Product vendor
        • Product price
        • Product description
        • Product variant
        • Product quantity
        • Product Add to cart
        • Product view details
        • Product Metafield
        • Dynamic checkout button
      • Collection
        • Collection title
        • Collection image
        • Collection list
        • Collection view details
        • Collection details
        • Collection description
      • Form
        • Customer form
        • Customer form field
        • Customer form button
        • Contact form
        • Contact form field
        • Contact form button
        • Search form
      • Blog posts
        • Blog post list
        • Blog post details
        • Blog post image
        • Blog post title
        • Blog post content
        • Blog post meta
    • Optimization
      • How to use custom code editor to customize your page?
      • Page Analytics
      • How to speed up your Shopify store?
      • How to set up Facebook Pixel to understand the actions people take on website?
      • How to publish PageFly page to Shopify menu navigation?
      • How to use the Zakeke Product Customizer on PageFly pages?
      • How to use Langify to translate my page?
      • How to use Weglot to translate my pages?
      • How to use T Lab to translate PageFly’s page?
      • JSON Template with PageFly
      • How to Optimize Images with TinyIMG in the PageFly editor?
      • How to use Shoplift A/B Testing with PageFly?
      • How to use SEOAnt:AI SEO & Image Optimizer with PageFly?
      • Black Friday Sale Ideas
      • Optimize Pages for CRO with PageFly Elements
      • Optimize Sale On Valentines Day
      • How to set up Christmas Sale Page with PageFly | Best Guide in 2023
      • How to create a Flash sale section - Back to School
      • Optimize Your Store for Mother's Day: Create a Gift Guide with PageFly
    • Main Use Case
      • Align Elements on a Page
      • Direct to Links, Sections, Pop-ups
      • Edit Spacing, Margin and Padding
      • Flex Feature
      • Upload Files to Page
  • Integrations
    • Third-party Elements
      • How to activate integrated third party Shopify apps to use on your pages
      • What apps does PageFly integrate with?
      • Review & Rating
      • Upsell & Cross-sell
      • Badge & Seal
      • Appointment Booking
      • Delivery & Pickup
      • Subscriptions
      • Order Tracking
      • Upload Fields
      • Email Marketing
      • Product Information
      • Push Notifications
      • Referral & Affiliate Marketing
      • Image & Media
      • Loyalty & Rewards
      • Sustainability
      • Gifts
      • Internationalization
      • Advertising
      • Support
      • SMS Marketing
  • FAQ & Troubleshooting
    • Overview
    • FAQs
      • Issues with Shopify themes when using PageFly
      • How we comply with GDPR
      • The URL address of my page
      • PageFly Page editor - FAQs
      • Elements - FAQs
    • Troubleshooting
      • Live site issue
        • Cart Drawer does not Automatically Update
        • Responsive mobile horizontal scroll issue
        • YouTube, HTML Videos do not autoplay issue
        • Page not fully displayed in theme preview mode
        • Can't create locales file
        • Can't create theme.pagefly.liquid
        • How to hide Shopify's Default Product Details
        • PageFly Page List Won't Stop Loading
        • Remove the blank space on top of the page
        • Blog page not updated successfully
        • The page's style is broken
      • Error messages
        • PageFly Page List Won't Stop Loading
        • Page Size Limit
        • Limit elements on a page
        • Unable to import your data
        • Limit image size
        • Unknown error
  • Latest Update
    • PageFly is now compatible with Online Store 2.0
    • PageFly Referral Program
    • PageFly old pricing plan
  • PageFly Affiliate Program
    • Affiliate Success: Understanding what PageFly can do for Merchants
    • Affiliate Success: Dos & Don'ts - Everything to Know about Becoming a Successful PageFly Affiliate
    • Affiliate Success: Frequently Asked Questions
Powered by GitBook
LogoLogo

Product

  • Templates
  • Pricing
  • Happy Customer

Resource

  • Blog
  • Academy
  • Video Tutorials
  • Community
  • Feedback

Partners

  • Our Partners
  • Affiliate Program

Company

  • About Us
  • Careers
  • Privacy Policy
  • Terms of Service

Copyright © 2025 PageFly. All rights reserved.

On this page
  • About Sticky Section
  • How To Access PageFly Sticky Section
  • How To Configure For PageFly Sticky Section
  • Common Cases
  • Frequently Asked Questions
  • Additional Resources

Was this helpful?

Edit on GitHub
  1. Pages & Sections Creation
  2. Sections

How to make a sticky section without code in PageFly

Last updated 9 hours ago

Was this helpful?

About Sticky Section

In this article, you will learn how to create a without using custom CSS code.

Note:

  • This feature might not work on some Shopify themes depending on how the theme developer creates the theme.

  • This feature only applies for a section. In case you need to make a button sticky, please contact our Support team. (this documentation doesn't apply to make a button sticky).

Summary: Sticky sections help keep important content visible as customers scroll through your store. By making specific sections "sticky," you ensure that they remain fixed in place, providing customers an easy access to critical information without having to scroll back to the top.

Sticky sections are particularly useful for calls to action, or any content you want to keep prominently displayed as users explore your storefront.

You can read the rest of this manual, or watch a tutorial on how to set up the Sticky Section feature in PageFly:

How To Access PageFly Sticky Section

From Page Editor

In Page editor, follow these steps to access the Sticky Section settings:

  • Step 1: Click on the section that you want to make it sticky

  • Step 2: Go to General tab > Scroll down to "Enable Sticky Top" > Select "Yes"

Note: This feature only works on the live page and might not work due to theme conflict.

  • Step 3: Publish the page from the Publish button on the menu bar, and go to the live page to see the result.

How To Configure For PageFly Sticky Section

When you turn the Enable Sticky Top feature on, there are two advanced settings to adjust.

Top Offset: to adjust the spacing between the top edge of the viewport and the sticky section.

Apply elevation (in More settings button): Stack level of a section, one with greater stack level will be in front of a lower one.

Common Cases

1. The Section Is Not Sticky

Although you followed all the steps above, the sticky section still doesn't work. You don't know why?

"I set this section sticky but it doesn't work on live view":

The reason is that there is a containing section of this section including a code from the theme that is "overflow:hidden;". This code overrides the sticky code and makes the sticky section not work. To fix it, please follow these steps:

  • Step 1: On live page, right click on the sticky section and open Inspect

  • Step 2: From the sticky section, check containing sections of this section one by one

  • Step 3: Check until you see the code "overflow:hidden; in the Styles tab of the section

  • Step 4: Copy the Class Name of this section. Back to PageFly page editor, open Custom Code Editor

  • Step 5: Add this code: .classname {overflow: visible !important;}

  • Step 6: Publish the page and check the Live View

If you have followed the above solutions, the sticky section still doesn't work, please reach out to us via 24/7 in-app Live Chat so that we can help you directly.

2. Create A Sticky Product Add To Cart Button

To make an "Add to Cart" button stick to the top of the screen, first add the "Add to Cart" button element to a section on the page. Then, for that same section, turn on the "Sticky Top" setting. This will cause the "Add to Cart" button to remain visible at the top of the viewport as visitors scroll down the page. The video below demonstrates the full process.

Frequently Asked Questions

1. Why am I not seeing "Enable Sticky Top"?

Enable Sticky Top setting only applies to Section elements. To access this setting, click on a section using one of the following areas in the Page Editor:

  • Page Outline

  • Canvas

  • Breadcrumbs

2. Can I make the button have a transparent background while it's stuck at the top?

Additional Resources

In this case, Class Name of section is "pagefly-container" so the is

Yes, you can! Please drag and drop a button element into a section and make the section both transparent and sticky. You can follow

code you need to add
5 Steps to Create Full-width Section on PageFly Pages
this guide
sticky section