Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
julieeckert

Footer right aligned text not centering on mobile

Question

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

Edited by julieeckert

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

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

Edited by tuanphan

 Send me a message if you have any questions.

OFF forum from Jan 16 - Jan 31 for Lunar New Year.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...