Jump to content

Recommended Posts

Hi All

I'm trying to use sticky sections on a website but experiencing issues and would welcome some help! 

My sections will vary in height and include different types of information. Some sections will include drop downs and so only reveal information when clicked upon.

(See attached image, ***I have just stuck a dummy site up to illustrate problem: https://hypersphere-lime-gcj5.squarespace.com/)


I'm finding that at smaller browser sizes, say what you would view on 15inch laptop...the content of each section becomes cropped so the user is unable to actually read all the content of that section.

So for example the expansion of a set of drop down questions might not be readable because when the user scrolls the next sticky section slides over that content. 

My question is: Is there a way to stop this from happening?


Screenshot2024-08-07at16_59_46.thumb.png.3bdb3416772e510fe3e6c0c9399641c9.pngCan code be added to ensure each section can also be viewed when scrolling?

I hope this makes sense,  I apologise in advance for ramblings.

Many thanks

P.S I think it might be something like the below but unsure, tried to use and seems to have no effect.
 

div# 3 .span-5 {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 9999;
}
section, article, #page, body {
    overflow: visible !important;
}
Edited by Inkdave
Link to comment
  • Replies 1
  • Views 742
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.