L1NST3R Posted November 18, 2021 Share Posted November 18, 2021 Site URL: https://www.tgtfresh.com/ I'm hoping to sort of delaying the scroll back header from hiding when I'm scrolling down to only start to hide after I scroll past the first section or two, so there wouldn't be a blank area most of the time when the page isn't completely scrolled to the top. Secondly, since I'm hiding the logo with instructions from https://schwartz-edmisten.com/blog/shrink-logo-on-scroll-in-squarespace-71 on mobile, and modified to transform instantly, the logo makes the page jump a bit every time I scroll to top - I'm thinking that delaying the scroll back to somewhere lower than the top of the screen might make this process off screen and reduce its impacts. Also, is there a way to disable the code for shrinking the logo when I'm in the overlay navigation menu? Beyondspace 1 Link to comment
Beyondspace Posted November 18, 2021 Share Posted November 18, 2021 45 minutes ago, L1NST3R said: Site URL: https://www.tgtfresh.com/ I'm hoping to sort of delaying the scroll back header from hiding when I'm scrolling down to only start to hide after I scroll past the first section or two, so there wouldn't be a blank area most of the time when the page isn't completely scrolled to the top. Secondly, since I'm hiding the logo with instructions from https://schwartz-edmisten.com/blog/shrink-logo-on-scroll-in-squarespace-71 on mobile, and modified to transform instantly, the logo makes the page jump a bit every time I scroll to top - I'm thinking that delaying the scroll back to somewhere lower than the top of the screen might make this process off screen and reduce its impacts. Also, is there a way to disable the code for shrinking the logo when I'm in the overlay navigation menu? You mean the header only shrinked when scroll pass the first 2 sections right? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
L1NST3R Posted November 18, 2021 Author Share Posted November 18, 2021 1 hour ago, bangank36 said: You mean the header only shrinked when scroll pass the first 2 sections right? Yeah, and to disable logo shrink when the overlay menu is open, so the logo will still show when I'm in the menu. Is that possible? Link to comment
Beyondspace Posted January 2, 2022 Share Posted January 2, 2022 On 11/18/2021 at 12:28 PM, L1NST3R said: Yeah, and to disable logo shrink when the overlay menu is open, so the logo will still show when I'm in the menu. Is that possible? For disable logo shrink when overlay menu is open, you can try #header.shrink .header-title-logo img { max-height: 80px; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
L1NST3R Posted January 2, 2022 Author Share Posted January 2, 2022 7 minutes ago, bangank36 said: For disable logo shrink when overlay menu is open, you can try #header.shrink .header-title-logo img { max-height: 80px; } Thanks for the response, I've just tried this, but this stops the logo shrink outside of the overlay menu too, is there a way to limit it to being only for the overlay menu? Link to comment
Solution Beyondspace Posted January 2, 2022 Solution Share Posted January 2, 2022 (edited) Problem has been solved via PM! Edited January 2, 2022 by bangank36 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
Create an account or sign in to comment
You need to be a member in order to leave a comment