Jump to content

Footer right aligned text not centering on mobile

Recommended Posts

I have tried all of the custom code written for centering footer text on mobile only and none of it seems to work. Please help!

I want to keep the text right aligned on desktop but have it center on mobile and tablet. I currently have this code which is not working:

@media screen and (max-width:900px) {
div#yui_3_17_2_1_1574529725307_707 * {
    text-align: center;

https://sepia-cardioid-z8gf.squarespace.com   Pass: acupuncture



Screen Shot 2019-11-23 at 9.11.18 AM.png

Link to comment
  • Replies 3
  • Views 2.3k
  • Created
  • Last Reply

add to custom css

@media screen and (max-width:900px) {
div#block-yui_3_17_2_1_1567277763748_131526 * {
    text-align: center !important;

DON'T USE #YUI, it will change every you reload the page.

Use #page-id or #block-yui

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


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.