juliaprather Posted February 12, 2023 Share Posted February 12, 2023 (edited) I'd like to reduce left and right padding in the announcement bar, but only on mobile. I tried some code I found in this forum, but so far have only succeeded in reducing the padding of the header (which I don't want to do). Thanks! Edited February 12, 2023 by juliaprather Changed from 2 questions to 1 Link to comment
Ziggy Posted February 13, 2023 Share Posted February 13, 2023 Can you share your website URL? How much padding do you want on mobile? 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
juliaprather Posted February 27, 2023 Author Share Posted February 27, 2023 On 2/13/2023 at 4:52 AM, Ziggy said: Can you share your website URL? How much padding do you want on mobile? Ziggy, thanks so much for responding! The URL is https://borrowhappy.com/. Per the attached images, on desktop view, the phone icon in the announcement bar lines up with the left margin of the site. But on mobile, even when aligned left, the content in the announcement bar does not line up with the left margin of the site, which I would like it to do. Thank you! Link to comment
Solution Ziggy Posted February 28, 2023 Solution Share Posted February 28, 2023 Try this Cusotm CSS: @media only screen and (max-width:767px) { .sqs-announcement-bar-text { padding: 0.8em 1em; } } Let me know if that works for you! juliaprather 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
juliaprather Posted March 1, 2023 Author Share Posted March 1, 2023 On 2/28/2023 at 3:42 AM, Ziggy said: Try this Custom CSS: @media only screen and (max-width:767px) { .sqs-announcement-bar-text { padding: 0.8em 1em; } } Let me know if that works for you! Well how do you like that?? Worked like a charm. Thank you, Ziggy! Ziggy 1 Link to comment
Ziggy Posted March 1, 2023 Share Posted March 1, 2023 5 minutes ago, juliaprather said: Well how do you like that?? Worked like a charm. Thank you, Ziggy! Fantastic, really glad to hear that worked! 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment