Jump to content

Parallax page with sticky text

Recommended Posts

Hi!

my  problem when I'am adding a parallax image to a page where I have a sticky CSS, the sticky code doesn't work anymore.(code below ) The sticky texts doesn't work with parallax pages? I checked all forums, but I didn't find the solution. 

this is the page url: https://www.studio4045.net/csurgo

/* Sticky text on desktop */
@media screen and (min-width:901px) {
/* Sticky text */
div#page-5fd7b5fb2b9b2c152d146504>.row:nth-child(2)>.span-3 {
    position: sticky;
    position: -webkit-sticky;
    top: 200px;

Thanks,

Link to comment
  • Replies 6
  • Views 464
  • Created
  • Last Reply
On 12/15/2020 at 3:50 PM, balanyek said:

Hi!

my  problem when I'am adding a parallax image to a page where I have a sticky CSS, the sticky code doesn't work anymore.(code below ) The sticky texts doesn't work with parallax pages? I checked all forums, but I didn't find the solution. 

this is the page url: https://www.studio4045.net/csurgo

/* Sticky text on desktop */
@media screen and (min-width:901px) {
/* Sticky text */
div#page-5fd7b5fb2b9b2c152d146504>.row:nth-child(2)>.span-3 {
    position: sticky;
    position: -webkit-sticky;
    top: 200px;

Thanks,

Overflow parent has disable sticky

#csurgobanya-2.Index-page {
  overflow: visible;
}
div#page-5fd7b5fb2b9b2c152d146504>.row:nth-child(2)>.span-3 {
    position: sticky;
    position: -webkit-sticky;
    top: 200px;
}

 

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
5 hours ago, balanyek said:

But Unfortunately in mobile doesn't work, and If I open the page in bigger PC screen (3840x2160) doesn't work the sticky effect.  In laptop screen works fine.

Thanks

 

I dont have that big screen to test, so sorry

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 12/20/2020 at 2:32 AM, balanyek said:

But Unfortunately in mobile doesn't work, and If I open the page in bigger PC screen (3840x2160) doesn't work the sticky effect.  In laptop screen works fine.

Thanks

 

Have you solved this yet?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.