Jump to content

Centered everything on my mobile footer except for social links

Recommended Posts

Used the following code to center align all elements on my footer:

@media only screen and (max-width:768px){
 #footer-sections * {
    text-align: center !important;
}

 

However, social links are not centering.

Link to comment
  • Replies 5
  • Views 265
  • Created
  • Last Reply

Top Posters In This Topic

18 hours ago, AllTradesCo said:

Used the following code to center align all elements on my footer:

@media only screen and (max-width:768px){
 #footer-sections * {
    text-align: center !important;
}

 

However, social links are not centering.

Can you share your URL so I can check it?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
11 hours ago, tuanphan said:

Try this code instead

@media screen and (max-width:767px) {
    #footer-sections * {
        text-align: center !important;
        justify-content: center !important;
    }
}

 

That worked, thank you!

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.