irenew Posted April 14, 2023 Share Posted April 14, 2023 Hello, I'm a beginner. I need to make my sidebar for the 7.0 Five template sticky. Thank you for your help Link to comment
Ziggy Posted April 14, 2023 Share Posted April 14, 2023 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! 📈 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? Link to comment
irenew Posted April 17, 2023 Author Share Posted April 17, 2023 https://www.eastridgechiropractic.com/shop Password: Coffee I currently have 2 options that I'm playing around with. Open to your suggestion about which would be a better solution. 1. The left-sided sidebar which I'd like to be sticky. 2. I also found code for the sticky black buttons on the right side, but I do not know how to make them link up to the different sections on the page. This is the code used: Quote <ul class="tp-float-buttons"> <li><a href="#">Home Care Products</a></li> <li><a href="#">Pregnancy Products </a></li> <li><a href="#">Products for Kids </a></li> </ul> <style> ul.tp-float-buttons { position: fixed; top: 50%; right: 10px; z-index: 999; list-style: none; padding-left: 0; margin: 0; } ul.tp-float-buttons a { color: white; background-color: black; padding: 10px; margin-bottom: 10px !important; display: inline-block; min-width: 100px; text-align: center; } </style> Link to comment
tuanphan Posted April 19, 2023 Share Posted April 19, 2023 On 4/17/2023 at 11:47 PM, irenew said: https://www.eastridgechiropractic.com/shop Password: Coffee I currently have 2 options that I'm playing around with. Open to your suggestion about which would be a better solution. 1. The left-sided sidebar which I'd like to be sticky. 2. I also found code for the sticky black buttons on the right side, but I do not know how to make them link up to the different sections on the page. This is the code used: #2. I think I wrote that code a few years ago For example this section you have a Code Block above it <p id="prenatal-postpartum-products"> </p> just change this line <li><a href="#">Pregnancy Products </a></li> to this <li><a href="#prenatal-postpartum-products">Pregnancy Products </a></li> Ziggy 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (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