Jump to content

Sticky element not working

Recommended Posts

  • Replies 6
  • Views 324
  • Created
  • Last Reply

Top Posters In This Topic

19 hours ago, joshuaechevarriadop said:

https://blueberry-carrot-xawg.squarespace.com/

pw codeblock

 

I am trying to make the word "commercial" sticky but its not working in my css.  This is the code I am using

[data-section-id="63921eeb4e8af41900174620"] {#block-yui_3_17_2_1_1670522405842_1038417{
  position: sticky;
  top: 500px;
  }
}

any thoughts?

Are you using squarespace version 7.0?

You need to drag the text and images into 2 column, within one row, so we can apply the sticky effect on text block.

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

Do you mean this page?

image.thumb.png.20ef711a20df81ee611a4c28da9f78dc.png

What type of page are you using?

Edited by Beyondspace

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/23/2022 at 8:13 PM, joshuaechevarriadop said:

website is currently live.  www.joshuaechevarriadop.com/selected   the text on the left is what I wanted to be sticky

 

I am using squarespace 7.1 fluid engine

Add to Design > Custom CSS

.fe-block-yui_3_17_2_1_1670522405842_923572 {
    position: fixed !important;
    top: 100px;
}

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.