Jump to content

Fixed Image Next to Scrolling Text

Recommended Posts

Hi! I am trying to mimic this webpage's (https://www.reganarts.com/books/2016/the-godfather-notebook-special-edition/index.html) ability to have a static element remain fixed alongside a scrolling element. Essentially, I am trying to have an image remain fixed on one side, as the text next to it scrolls until reaching the end. At that point, the image and text will no longer remain fixed, and you can continue scrolling through the page. 

Anyone know how to do this with CSS? Happy to clarify if this is confusing. 

Also, I've done some research, and I'm aware that part of this would involve identifying CSS block IDs to target them, as per this article: https://forum.squarespace.com/topic/11936-can-i-add-css-to-one-text-block-but-not-others-within-a-page/

Thank you!!

Edited by Ariana66
fixing broken link
Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

5 hours ago, Ariana66 said:

Hi! I am trying to mimic this webpage's ability to have a static element remain fixed alongside a scrolling element. Essentially, I am trying to have an image remain fixed on one side, as the text next to it scrolls until reaching the end. At that point, the image and text will no longer remain fixed, and you can continue scrolling through the page. 

Anyone know how to do this with CSS? Happy to clarify if this is confusing. 

Also, I've done some research, and I'm aware that part of this would involve identifying CSS block IDs to target them, as per this article: https://forum.squarespace.com/topic/11936-can-i-add-css-to-one-text-block-but-not-others-within-a-page/

Thank you!!

Thanks to creedon, I can see the url you posted, this can be achieved with position sticky, what is your site url

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

@bangank36 Okay cool, thank you!

The site we're building is currently under construction, on trial, so it's unable to be public. I changed it to password protected, so hopefully with the password you can view it. The link to the page is: https://buffalo-chinchilla-xpte.squarespace.com/the-godfather-notebook -- password: reganarts

Let me know if that doesn't work!

Specifically on this page, we're trying to make it so we can add more text next to the image of the book & have it scroll. 

And thank you @creedon!

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.