Jump to content

Center Align footer text on Mobile–Squarespace 7.0 CSS help

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://jessicawinegar.com/

Hello!

[pw: morehugs]

I'm trying to change the alignment of footer text in my client's website. 
I've applied this code so far:

/* mobile footer alignment*/
@media only screen and (max-width:640px){ 
  .Footer-blocks * {text-align:center}}

It seems to only have applied to some of the text in the footer. I would like all of the footer text to be center-aligned. 

I'd appreciate any thoughts,

Thanks :))

- Leaf (they/them)

Screen Shot 2022-03-28 at 3.31.19 PM.png

Edited by Leaf
Link to comment
  • Solution

Use this CSS code

/* align center mobile footer */
@media screen and (max-width:767px) {
footer.Footer * {
    text-align: center !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

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

×
×
  • 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.