Oliokd123 Posted February 22 Posted February 22 (edited) I want to create a scroll activated colour background for my website similar to the demo here (https://webdevtrick.com/javascript-change-background-color/?amp=1) how can I apply the code from this to my website? Edited February 22 by Oliokd123
Ziggy Posted February 22 Posted February 22 Is this what you're looking for: https://www.will-myers.com/change-the-background-color-on-scroll-in-squarespace Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Oliokd123 Posted February 22 Author Posted February 22 (edited) yes it is but it changes colours too soon , I want the section to change colour after 80% of it being scrolled not 50% so it flows better similar to the demo link provided . I also want it for multiple sections. When applying the colours also don't look right , they come across as muddy. Edited February 22 by Oliokd123
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment