AlexandraW Posted March 17, 2023 Share Posted March 17, 2023 Hi all, I was wondering does anybody know how to make an image sticky (only not on mobile)? This is the website I'm working on loesvisser.squarespace.com (password is CacaoCreatives). The image I would like to make sticky is the one at the page called 'Calendar' (screenshot attached) and it is this image that I would love to make sticky: #block-1a76a584632c2b57cb53 Thank you so much and greetings from Amsterdam! Alexandra Link to comment
Solution Ziggy Posted March 17, 2023 Solution Share Posted March 17, 2023 Hello Amsterdam! Try adding this code to the Custom CSS on your website: @media only screen and (min-width:768px) { .fe-block-1a76a584632c2b57cb53 { position: sticky !important; -webkit-position: sticky !important; top: 0; z-index: 999; } } Hope that helps! AlexandraW 1 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! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
AlexandraW Posted March 24, 2023 Author Share Posted March 24, 2023 Hi Ziggy, It works perfect, thanks a lot! 🤩 Alexandra 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