How can I reposition the social media icon

Topic summary

A Shopify store owner using the Dawn theme needed help repositioning social media icons in the footer to appear next to the store name while removing excess spacing.

Initial Problem:

  • Social media icons were separated from the store name with unwanted space between elements
  • Screenshots showed the icons positioned awkwardly in the footer

Solution Process:
A contributor provided custom CSS code to be added to the section-footer.css file, which included:

  • Flexbox styling to align footer elements horizontally
  • Padding and margin adjustments to reduce spacing

Complications & Fixes:

  • After initial code implementation, social icons became invisible
  • Additional CSS was needed to fix opacity and transform properties
  • Mobile responsiveness required separate adjustments
  • Desktop alignment issues emerged with the name and year positioning too low
  • Final issue was traced to an extra closing bracket } in the code

Resolution:
After removing the syntax error, the footer displays correctly on both desktop and mobile with social icons properly positioned next to the store name. The issue is now resolved.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

In the footer, how can I put the social media icon next to the name, and remove the extra space?

Using dawn theme

https://nosafetyskateboards.com/

Screenshot 2025-04-08 at 6.51.00 PM copy.png

Make sure your link is added well in your Shopify store settings, in case you don’t know how to:

Go to your admin dashboard and customize your online store, then edit your footer and add your social media links. Hope this is helpful?

Hello, how are you doing?

What’s probably happening is that the icon and the text are being treated as separate block elements or just spaced out awkwardly by default CSS. What you want instead is for them to feel like they belong together like a team.

The way to fix it is by wrapping each icon and its name inside a single container and styling them with something like inline-flex, so they align horizontally. Then, gently adjust the spacing between the icon and the name so they’re cozy but not cramped. You can also fine-tune the font size and color to match your site’s aesthetic.

Once you do that, you’ll have a footer that feels intentional like every part of it was thoughtfully placed, down to the last pixel. It’s a small detail, but those are the ones that quietly shout, “This brand knows what it’s doing.”

If you want me to peek at the actual code, I’d be happy to. You’re almost there

Hi @Lcarey744 ,

Please go to Actions > Edit code > Assets > section-footer.css file and paste this at the bottom of the file:

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}
.footer__content-top {
    padding-bottom: 0 !important;
    width: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
}
.footer__content-bottom-wrapper--center {
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
}
.footer__copyright {
    margin-top: 0 !important;
}

Thank you. Now the social is positioned correctly and the link works, but is not visible?

Hi @Lcarey744 ,

Can you add the code back or send me the preview link where the code is added? I will check it again

Try what I suggested.

Here you go

https://nosafetyskateboards.com/?_ab=0&_fd=0&_sc=1

Hi @Lcarey744 ,

Can you send me preview link? refer to following instructions

https://nosafetyskateboards.com/

sorry, is published here

Hi @Lcarey744 ,

Please add code:

.footer-block--newsletter {
    transform: none !important;
}
.footer__content-bottom {
    padding-top: 0 !important;
    border: none !important;
}

I added this code underneath the first. Is now only showing the social icon?

Hi @Lcarey744 ,

Please change code:

.footer__content-bottom {
    padding-top: 0 !important;
    border: none !important;
}

=>

.footer__content-bottom {
    transform: none !important;
    padding-top: 0 !important;
    border: none !important;
    opacity: 1 !important;
}

Thanks this working for now for desktop, but not for mobile?

Hi @Lcarey744 ,

Please change code:

.footer-block--newsletter {
    transform: none !important;
}

=>

.footer-block--newsletter {
    opacity: 1 !important;
    transform: none !important;
}

Social now appears on mobile, but on desktop the position of name and year is too low?

Hi @Lcarey744 ,

I checked and you added extra ‘}’, please remove the code, it will work fine

Sorry, removed } looks good now. Thank you very much

1 Like

Hi @Lcarey744 ,

You’re welcome and happy to help :blush: