Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Fixed Image Next to Scrolling Text


Ariana66

Question

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 post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

The site URL is < https://www.reganarts.com/books/2016/the-godfather-notebook-special-edition/index.html >.

3 answers to this question

Recommended Posts

  • 0
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 BaNgan from 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 lightboxGeolocation Automatic Currency Converter, Sortable Table from GSheet
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 post
  • 0

@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 post

Create an account or sign in to comment

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


×
×
  • Create New...