A user is attempting to increase the Instagram icon size in their Shopify Dawn theme but standard CSS solutions targeting .list-social__item .icon are not working.
Problem Details:
Site: www.streetage.it (password-protected)
Previous CSS methods with !important declarations in component-list-social.css failed
Icons are SVGs within specific wrappers, making them difficult to resize
Proposed Solutions:
Targeting SVG elements directly: .list-social__item .icon svg{}
Adding CSS to footer/header social links in base.css or theme.css
Targeting the SVG wrapper: .list-social__link .svg-wrapper{width: 32px; height: 32px;}
Current Status:
The SVG wrapper solution successfully increased icon size to 32px × 32px
User reports being unable to increase size beyond 32px and questions whether a size limit exists
Discussion remains open regarding potential size constraints
Summarized with AI on October 23.
AI used: claude-sonnet-4-5-20250929.
I am trying to increase the size of the Instagram icon on my shop, however I am not able to do that. I had a look to previous suggested solutions but they are not working (i.e. applying !important height and width values to “.list-social__item .icon” inside component-list-social.css). Does anyone have any suggestion?
Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.
You can try it out by adding the following CSS at the very end of your theme’s main stylesheet (usually assets/base.css or assets/theme.css), not inside component-list-social.css :
Hey! This is a common challenge with some Shopify themes because social icons are often SVGs inside specific wrappers, which makes them tricky to resize with standard CSS.
If you want, I can guide you through the steps to properly target the icons so they scale cleanly on both mobile and desktop. It’s a bit technical, but I’ve helped merchants solve this quickly without breaking the layout.
Hi @Streetage
Your .svg-wrapper class is limiting the icon’s size. Modify its properties, and the icon will appear larger. I’ve tested it, and it works.
After checking the Instagram icon on your website, I have manually created an CSS code below for your reference. You can add it at the bottom of theme.liquid file or theme.css file to make it work:
If you want to increase or reduce the size of the Instagram icon, just edit the value of transform into scale(1.6) or scale(1.4). Then the size of Instagram icon will be changed accordingly.
thank you all for your kind support. The reason why the size increase was not exceeding the 32px limit was because I was wrongly applying it on the base.css of the theme. To fix it I had to:
increase .svg-wrapper limit inside the base.css
.svg-wrapper {
display: inline-flex;
justify-content: center;
align-items: center;
width: 80px;
height: 80px;
}
increase the icon size inside the component-list-social.css
.list-social__item .icon.icon-instagram {
width: 80px !important;
height: 80px !important;
}
svg.icon.icon-instagram {
width: 80px !important;
height: 80px !important;
}
This way the icon increases properly . Thank you all for your help!