housefourteen Posted September 20, 2023 Share Posted September 20, 2023 Question for the forum... I am building out my site and I added code to create a 30px border around my site. Does anyone know how to move the announcement bar into that border. If I enable the announcement bar as is, it shows up below the 30px border. Link to comment
Ziggy Posted September 20, 2023 Share Posted September 20, 2023 How did you add the border? 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) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
housefourteen Posted October 4, 2023 Author Share Posted October 4, 2023 body { border: 30px solid #FFFFFF (or whatever color you want the border) } OR header, body { border: 30px solid #hexnumber } header { border-bottom: none } I'm not a developer, so admittedly, my coding skills are what I pick up or search for. I just haven't found any references on how to code the announcement bar to stay at the top of the page. I know why it's not working, I just don't know how to fix it. Link to comment
JayVanDyke Posted October 4, 2023 Share Posted October 4, 2023 you could just remove the border from the top only. Add this directly after your current border code in the body element. border-top: none !important; If that doesn't work we'll need you to make the announcement bar live and leave your code in there and then share your link so we can check it out live. ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs 🛠️ Web Designer's Toolkit **some of these contain affiliate links Link to comment
Solution housefourteen Posted October 4, 2023 Author Solution Share Posted October 4, 2023 Thanks! I'll give it a go. Link to comment
housefourteen Posted October 6, 2023 Author Share Posted October 6, 2023 jaeveedee: thanks for the help!!! 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