cynanc Posted January 26, 2023 Share Posted January 26, 2023 Hey. I can't get one block of text in this site's footer to center align it's content in mobile view. Both text blocks are left and right positioned in the desktop view, and the left block cooperates in the mobile based on this code: @media only screen and (max-width:767px){ #footer-sections * { text-align:center } } But the right block is being stubborn. Any ideas what's preventing it? Link to comment
Ziggy Posted January 27, 2023 Share Posted January 27, 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
cynanc Posted January 30, 2023 Author Share Posted January 30, 2023 Surely. skinnies.co.uk Link to comment
Ziggy Posted January 30, 2023 Share Posted January 30, 2023 Adding !important should do the trick: @media only screen and (max-width:767px) { #footer-sections * { text-align:center !important; } } cynanc 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! 📈 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
cynanc Posted January 30, 2023 Author Share Posted January 30, 2023 Thank you, Ziggy. Can't believe I hadn't tried that! Link to comment
Ziggy Posted January 31, 2023 Share Posted January 31, 2023 Never a first solution, but sometimes you need to force it! 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment