Still no help with resizing social media icons.

Solved

Still no help with resizing social media icons.

chrisc1987
Excursionist
25 2 2

Still no help with resizing social media icons after the Studio Theme 15.3

Screenshot 2025-04-26 155647.png

Screenshot 2025-04-d26 160650.png

  

update.

Accepted Solution (1)
chrisc1987
Excursionist
25 2 2

This is an accepted solution.

Okay, so the first code does work, but as you stated, it only targets the WRAPPER SIZE and not the actual icon itself inside the wrapper. But I may have figured it out slightly with some other help, finally. This it what I have now and it seems good, no yellow underlines.

Screenshot 2025-04-27 095347.png

View solution in original post

Replies 10 (10)

TheScriptFlow
Shopify Partner
709 49 94

In order to paste the code from Custom Css to theme file then the best place is base.css or theme.css file.

Here are the steps you can follow.

Go to Shopify Admin > Online Store > Edit Code > base.css or theme.css file.

Go to end of this file and paste the custom css code.

 

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee

chrisc1987
Excursionist
25 2 2

I don't know how to do that, unfortunately. 

devcoders
Shopify Partner
1411 168 442

Hello @chrisc1987 
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.

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!
chrisc1987
Excursionist
25 2 2

tim
Shopify Partner
4455 530 1629

Please, follow the instructions from https://community.shopify.com/c/shopify-design/how-can-i-share-an-unpublished-theme-preview-link/td-... and finally  share a preview link to the actual theme you're having problems with.

The button may look different for you:

Screenshot 2025-04-27 at 7.59.02 PM.png

 

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

TheScriptFlow
Shopify Partner
709 49 94

Hey @chrisc1987,

You are right that in the new updated version you are not able to resize the icons with the same css that in used in the old theme. This is because in the updated theme there is new class added name by .svg-wrapper that control the size of the Social Icons.

So, now instead of targeting the icon svg class you need to target the .svg-wrapper.
Currently I see that there is 20px width and height is set to the Social Icons. 

Here it is:

 chanage.png

 

So, when we change it then the size of the icons increase at one time. So in order to change it's size you have to paste the following code at the end of existing one.

.svg-wrapper {
    width: 30px !important;
    height: 30px !important;
}

You can increase the number from 30px to any number based on your requirements.

 If you want to have a different icon sizes on Mobile then you can paste the following whole code instead of the previous one.

.svg-wrapper {
    width: 30px !important;
    height: 30px !important;
}
@media only screen and (max-width: 767px){
.svg-wrapper {
    width: 20px !important;
    height: 20px !important;
}
}

The above code also cover the mobile devices with different size.

I hope this help a lot. If this was really helpful then mark my reply as Solution and Like it.

Thanks

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee

chrisc1987
Excursionist
25 2 2

Hi @TheScriptFlow,

 

Thank you for your reply. Can I use the custom CSS box in the footer section to input these codes, or will it need to be in the code editor?

TheScriptFlow
Shopify Partner
709 49 94

You can absolutely use the custom css box to put the coding that I provide you. 

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee

chrisc1987
Excursionist
25 2 2

This is an accepted solution.

Okay, so the first code does work, but as you stated, it only targets the WRAPPER SIZE and not the actual icon itself inside the wrapper. But I may have figured it out slightly with some other help, finally. This it what I have now and it seems good, no yellow underlines.

Screenshot 2025-04-27 095347.png

TheScriptFlow
Shopify Partner
709 49 94

You did it perfectly. Instead of repeating the same class you add the width and height in the SVG wrapper class. 

Now I hope your issue is fixed. If you need other assistance I will be more than happy.

- If my reply was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee  

 

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee