How can I increase the size of social media icons in the footer in the Refresh theme?
URL: sheetandprompt.myshopify.com
Thanks!
A user needed to increase the size of social media icons in the footer of Shopify’s Refresh theme.
Initial Solution Attempt:
.svg-wrapper with width/height values in assets/theme.cssassets/base.css insteadWorking Solution:
Add the following CSS to assets/base.css:
.footer__list-social .svg-wrapper svg {
width: 35px!important;
height: 35px!important;
}
.footer__list-social .svg-wrapper {
width: inherit!important;
height: inherit!important;
}
Resolution:
The issue was resolved successfully. The key was targeting both the SVG element itself and its wrapper container, adjusting pixel values as needed for desired icon size.
How can I increase the size of social media icons in the footer in the Refresh theme?
URL: sheetandprompt.myshopify.com
Thanks!
Hello @iveray
Go to Online Store, then Theme, and select Edit Code.
Search for assets/theme.css Add the provided code at the end of the file.
.svg-wrapper {
width: 30px;
height: 30px;
}
@devcoders Thanks for the quick reply! There isn’t a “theme.css” file under the assets folder.
Hello @iveray
Please add css assets/base.css
Go to Online Store, then Theme, and select Edit Code.
Search for assets/theme.css Add the provided code at the end of the file.
@devcoders When I entered 100px (to test the functionality), it looks like the size of the icons themselves remain the same, but the margins around each icon increase to 100px. I tried 1000px as well, which makes the issue a lot more obvious.
How can I increase the size of the icons themselves?
Hello @iveray
Go to Online Store, then Theme, and select Edit Code.
Search for assets/theme.css Add the provided code at the end of the file.
.footer__list-social .svg-wrapper svg {
width: 35px!important;
height: 35px!important;
}
.footer__list-social .svg-wrapper {
width: inherit!important;
height: inherit!important;
}
This worked. Thanks!
Note to other users reading this: @devcoders meant assets/base.css, not assets/theme.css.
Hello @iveray
You’re very welcome! I’m thrilled to hear that you’re pleased with the outcome. Don’t hesitate to reach out if you need further assistance.
like and accepting the All solution. Thank you!