How to enlarge social media icon size on Stiletto

How to enlarge social media icon size on Stiletto

elleCtaylor
Tourist
3 0 2

Hi,

 

I am trying to edit the code to enlarge the size of the linked social media icons on our website -https://rankinsjewellers.co.uk/

We are using the Stiletto template and I seem unable to edit the size of the icons on our homepage. I have reached out to support and it seems like the Stiletto theme doesn’t provide a direct option to modify the header through the theme editor.

 

Please can I ask for some suggestions/help?

 

Many thanks.

Replies 8 (8)

Guleria
Shopify Partner
4113 804 1155

Hello @elleCtaylor ,

 

Follow these steps:

1. Go to Online Store -> Theme -> Edit code

2. Open your custom.css file and paste the following code at the bottom:

 .header .social-icons li svg {
    width: 26px !important;
    height: 26px !important; 
}

 

Regards
Guleria

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder
elleCtaylor
Tourist
3 0 2

Hi Guleria,

 

I have given this a go but the icon size has remained the same.

 

Are there any further ideas on how I can solve this issue?

 

Thanks,

Elle

suyash1
Shopify Partner
10896 1348 1720

@elleCtaylor - please add this css to the very end of your custom.css file and check

 

.header .social-icons li svg {width: 28px; height: 28px;}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
elleCtaylor
Tourist
3 0 2

Still no luck sadly!

Guleria
Shopify Partner
4113 804 1155

Use the code in same file but before this line in same file 

@media (max-width: 722px){

 

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder

Made4uo-Ribe
Shopify Partner
10137 2405 3039

Hi @elleCtaylor 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes"
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 
<style>
.header .social-icons li, .header .social-icons li .icon, .header .social-icons li svg  {
    width: 30px;
    height: 30px;
}
</style>
  • And Save. 
  • Result:
  • Made4uoRibe_0-1743097822307.png

     

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

Dan-From-Ryviu
Shopify Partner
11633 2280 2462

Hi @elleCtaylor 

You can try to add this code and check again

.header .social-icons li, 
.header .social-icons li .icon, 
.header .social-icons li svg {
    width: 26px;
    height: 26px;
}

Change 26px in the code with your values that fit your request.

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Rahul_dhiman
Shopify Partner
810 155 170

Hello @elleCtaylor 
Go to online store ----> themes ----> actions ----> edit code ----> theme.css
add this code at the end of the file and save.

.footer .social-icons .icon {
width: 30px !important;
height: 30px !important;
}

result
75.png

If this was helpful, hit the like button and accept the solution.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages