Questions, feedback, and updates on the new online store design experience
Hi,
I tried to make the social media icons in the footer of my Dawn theme a bit bigger, but the tutorials that are available for this, only seem to work for the older themes. Is there any way to change the size of these icons?
Solved! Go to the solution
This is an accepted solution.
.list-social__item .icon {
height: 9.8rem !important;
width: 3.9rem !important;
}
@Flavourez
Add this code in component-list-social.css file.
Thank you
This is an accepted solution.
.list-social__item .icon {
height: 9.8rem !important;
width: 3.9rem !important;
}
@Flavourez
Add this code in component-list-social.css file.
Thank you
@Zworthkey wrote:
.list-social__item .icon {
height: 9.8rem !important;
width: 3.9rem !important;
}
@Flavourez
Add this code in component-list-social.css file.
Thank you
Can this work also for the header icons? (cart and search). I've tried and did not manage to!
@Dogismybestfrie
Welcome to the Shopify community!
Thanks for your good question.
Please share your store URL.
So that I will check and let you know the exact solution here.
I have the same problem, any solution?
Hi @MF41 @halflifecrysis @Dogismybestfrie I'm not a professional coder or Shopify partner -- just tinkering with my own store and ran into the same issue with the TikTok icon.
<svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-tiktok" width="16" height="18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8.02 0H11s-.17 3.82 4.13 4.1v2.95s-2.3.14-4.13-1.26l.03 6.1a5.52 5.52 0 11-5.51-5.52h.77V9.4a2.5 2.5 0 101.76 2.4L8.02 0z" fill="currentColor">
</svg>
I changed mine to:
<svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-tiktok" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8.02 0H11s-.17 3.82 4.13 4.1v2.95s-2.3.14-4.13-1.26l.03 6.1a5.52 5.52 0 11-5.51-5.52h.77V9.4a2.5 2.5 0 101.76 2.4L8.02 0z" fill="currentColor">
</svg>
My store is still in development, but this is what I ended up with:
Hope this helps.
On Dawn, this change did not make the Tiktok icon get bigger for me. I still have large everything else (Pintrest, FB and Insta) and a tiny TikTok. Are you on Dawn? Weird that it worked for you.
I'm using Dawn and started with the edit to component-list-social.css shown in the accepted solution, although since last night I've made further edits and the TikTok icon is still sizing up for me. I changed height and width to 3rem, removed the !important and removed the previous styling (which the !important served to overwrite). Here is what my current component-list-social.css is looking like. Flex-end commented out until I figure out if I want to keep it.
.list-social {
display: flex;
flex-wrap: wrap;
/*justify-content: flex-end;*/
}
@media only screen and (max-width: 749px) {
.list-social {
justify-content: center;
}
}
.list-social__item .icon {
height: 3rem;
width: 3rem;
}
.list-social__link {
align-items: center;
display: flex;
padding-right: 1.3rem;
color: rgb(var(--color-foreground));
}
.list-social__link:hover .icon {
transform: scale(1.07);
}
@ImagePixie This is the way. I was boggled when I was seeing the width and height set manually when I inspected the element, but I couldn't figure out where to change it. Thank you for that! Now my only problem is that 0 0 16 18 sets my icon slightly larger than the others, and even after reading up on it I'm just mystified by the viewBox attribute because changing the values doesn't ever do what I expect it to. I have no idea how to nudge it a little smaller... but I'll take too large over it being a weird tiny speck instead. 😄 Thanks for this fix!
Perfecto! It worked for me... Thank you very much for your kind support.
Very nice!
You wouldn't happen to have a line of code to make the Facebook Icon Blue and the Instagram Purple would you?
They look rather drab just in black. Thanks for your help!
Scott
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023