lauriebee Posted February 28 Share Posted February 28 Needing help trying to make a specific image block sticky (The "WhatsApp Us" image) and stay fixed in the top right corner of the page as I scroll through? I've looked through loads of forums and articles but still really struggling. Any help would be appreciated! Link to comment
Ziggy Posted February 28 Share Posted February 28 Can you share your website URL? 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
lauriebee Posted February 28 Author Share Posted February 28 https://try.strivemath.com/hong-kong-4 Link to comment
Solution Ziggy Posted February 28 Solution Share Posted February 28 Try this Custom CSS: .fe-block-yui_3_17_2_1_1708681096945_59299 .sqs-block { justify-content: center; position: fixed; top: 60px; right: 10px; width: clamp(80px, 12%, 12%); height: 200px; z-index: 999999999999999; } 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
lauriebee Posted February 28 Author Share Posted February 28 Unreal! Thank you so so much!! Ziggy 1 Link to comment
Ziggy Posted February 28 Share Posted February 28 28 minutes ago, lauriebee said: Unreal! Thank you so so much!! You're welcome! Would you mark my post as the solution to your question? Thanks! 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
lauriebee Posted March 13 Author Share Posted March 13 Wondering if this exact code for the same image would work on another page? Link to comment
Ziggy Posted March 13 Share Posted March 13 6 minutes ago, lauriebee said: Wondering if this exact code for the same image would work on another page? No, the ID is unique to that specific block not the image. 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
lauriebee Posted March 13 Author Share Posted March 13 Where can I find the unique ID for the image? Link to comment
Ziggy Posted March 13 Share Posted March 13 This is very good, but it doesn't give you the correct block id: https://chromewebstore.google.com/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff This will give you an ID that looks like this: #block-yui_3_17_2_1_1708681096945_59299 but you will need it to look like this for the sticky styling (I've bolded the necessary change): .fe-block-yui_3_17_2_1_1708681096945_59299 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
lauriebee Posted March 13 Author Share Posted March 13 Amazing! Thank you very much Ziggy 1 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