empierce Posted March 4, 2021 Share Posted March 4, 2021 Site URL: https://wisteria-wolf-bl47.squarespace.com/ Password: Test123 I have separate sub navigations for each project page and am looking to make them sticky but can't figure out how. Ideally I would like to have both the header and sub nav sticky, but it's okay if just sub nav is. Any suggestions on how to do this? Link to comment
Beyondspace Posted March 4, 2021 Share Posted March 4, 2021 16 minutes ago, empierce said: Site URL: https://wisteria-wolf-bl47.squarespace.com/ Password: Test123 I have separate sub navigations for each project page and am looking to make them sticky but can't figure out how. Ideally I would like to have both the header and sub nav sticky, but it's okay if just sub nav is. Any suggestions on how to do this? Could you try this custom css section[data-section-id="603e85154a06ab4b93352c98"] { position: fixed; z-index: 99; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
empierce Posted March 4, 2021 Author Share Posted March 4, 2021 @bangank36 Thanks so much for the quick response. I tried adding the css you gave me but it's sill not working. Link to comment
Beyondspace Posted March 4, 2021 Share Posted March 4, 2021 6 hours ago, empierce said: @bangank36 Thanks so much for the quick response. I tried adding the css you gave me but it's sill not working. I dont see the css in your custom css? section[data-section-id="603e85154a06ab4b93352c98"] { position: fixed !important; z-index: 99; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
empierce Posted March 4, 2021 Author Share Posted March 4, 2021 @bangank36 Thank you! I just replaced the css and that worked for the Rehellinen page you have pictured above. I'm wondering how to make this work for the other pages as well? Link to comment
empierce Posted March 5, 2021 Author Share Posted March 5, 2021 @bangank36 I was able to make the sub nav sticky for each page using the code you gave me but now the it's only full width on mobile and only takes up about 1/3 of the width of the page on desktop. Is there a width I can set this to that would make it optimal for desktop and mobile? Link to comment
empierce Posted March 5, 2021 Author Share Posted March 5, 2021 @bangank36 Solved! Thanks for all of your help! Link to comment
Beyondspace Posted March 5, 2021 Share Posted March 5, 2021 1 minute ago, empierce said: @bangank36 Solved! Thanks for all of your help! You rock! BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.