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

making a map block sticky in an Index page with 2 columns


alynch

Question

Site URL: https://www.ljathenaeum.org/murals/#artists-2

Site URL: https://www.ljathenaeum.org/murals/#artists-2

Hello!

In an index page section I have two columns: a summary block on the left and a map block on the right. I would like to make the map block on this index page section sticky. If possible, I would like it to be sticky for only the length of the summary block in the column to its left. I'm not sure what I'm doing wrong, and any insight would be appreciated. I'm not sure if this is affecting it, but both the map and the summary block are utilizing Lazy Summaries. This would only be for desktop view, as I have the columns stack in tablet and mobile views. Thanks so much!

-alynch

Link to comment
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
On 8/4/2021 at 4:43 AM, alynch said:

Site URL: https://www.ljathenaeum.org/murals/#artists-2

Site URL: https://www.ljathenaeum.org/murals/#artists-2

Hello!

In an index page section I have two columns: a summary block on the left and a map block on the right. I would like to make the map block on this index page section sticky. If possible, I would like it to be sticky for only the length of the summary block in the column to its left. I'm not sure what I'm doing wrong, and any insight would be appreciated. I'm not sure if this is affecting it, but both the map and the summary block are utilizing Lazy Summaries. This would only be for desktop view, as I have the columns stack in tablet and mobile views. Thanks so much!

-alynch

try

#block-yui_3_17_2_1_1601407006045_59630 +  .row .span-3 {
  position: sticky;
  top: 50px;
}
#artists-2.Index-page {
  overflow: visible;
}

image.thumb.png.09f46bb61851f6f59fbb1b9b13f3ab85.png

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 lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
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

Create an account or sign in to comment

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


×
×
  • Create New...