cynanc Posted January 26 Share Posted January 26 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 Share Posted January 27 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 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
Ziggy Posted January 30 Share Posted January 30 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 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
cynanc Posted January 30 Author Share Posted January 30 Thank you, Ziggy. Can't believe I hadn't tried that! Link to comment
Ziggy Posted January 31 Share Posted January 31 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 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (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