change size of social media icons

Topic summary

A user wants to increase the size of social media icons in their website footer to match the shopping cart icon in the header, particularly for mobile devices where the icons appear very small.

Proposed Solution:
A community member provided CSS code to modify icon sizes:

  • Desktop: 4rem x 4rem
  • Mobile (screens ≤749px): 34rem x 3rem (likely a typo)

Current Status:
The solution partially worked—icons enlarged on desktop but remained small on mobile. The original poster prefers larger icons on mobile only, not desktop.

Outstanding Issue:
The CSS code needs adjustment to properly target mobile devices and avoid enlarging desktop icons. The mobile width value (34rem) appears to be an error that may need correction.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

edensbakehouse.nl

yuidri

I would like to make the social media icons in the footer of my website bigger in size.

As big as the shopping cart icon on the top of my website in the header.

especially on mobile, the icons at the bottom of the page are very small.

Please help!

1 Like

Hi @EdensBakehouse

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.footer-block--newsletter .list-social__item .svg-wrapper .icon {
    height: 4rem !important;
    width: 4rem !important;
}
@media only screen and (max-width: 749px){
    .footer-block--newsletter .list-social__item .svg-wrapper .icon {
    height: 34rem !important;
    width: 3rem !important;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

It changed the size of the icons on Desktop, but not on mobile.

They remain small on mobile and i don’t like them bigger on desktop.