Jump to content

Centering footer text with css for mobile

Recommended Posts

Hi y'all!
I'm trying to center the text in my footer on mobile view. Part of the text centered after using css code text-align: center, but not totally. Espacially, text that is left-align on desktop.

This is the code I used:
@media only screen and (max-width:
  640px) {
    footer {text-align: center;}

Capture d’écran, le 2023-09-19 à 16.02.40.png

Capture d’écran, le 2023-09-19 à 16.03.08.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.