Jump to content

Having trouble centering footer social icons on mobile

Recommended Posts

Hi web friends!

I can't seem to figure out why my CSS isn't working. I'm sure it's something silly, but I cannot get my social icons to be center aligned on mobile. Here's the code currently using:

 

@media only screen and (max-width: 767px)
{ #block-yui_3_17_2_1_1714494673985_46210 * {
        text-align: center !important; }

}

 

Here's my site: www.nickpenta.com

Thanks!

Link to comment
49 minutes ago, npenta said:

Hi web friends!

I can't seem to figure out why my CSS isn't working. I'm sure it's something silly, but I cannot get my social icons to be center aligned on mobile. Here's the code currently using:

 

@media only screen and (max-width: 767px)
{ #block-yui_3_17_2_1_1714494673985_46210 * {
        text-align: center !important; }

}

 

Here's my site: www.nickpenta.com

Thanks!

You can use this code 

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1714494673985_46210 * {
    justify-content: center;
  }
}

image.thumb.png.c4f9abeb8987266c650a1cda2e26e1cc.png

Let me know how it works on your side

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

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.