All things Shopify and commerce
I want to enlarge the color swatches on my product template in Shopify so that each one appears on a separate line...
I would also like to change the colour of the "Shipping" link to black.
Solved! Go to the solution
This is an accepted solution.
Hi @T-Hubscher,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
.swatch--square {
height: 50px !important;
width: 50px !important;
}
</style>
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hi,
Yes, my site uses the liquid theme. I will be able to update the code. Thank you!
Hi @T-Hubscher
Im not sure if i understand what you mean "each one appears on a separate line" do you want make it a dropdown menu? Like this.
or just to enlarge? if it is check this one.
@media screen and (min-width: 750px) {
.product-form__input--swatch .swatch-input__input+.swatch-input__label {
--swatch-input--size: 4rem;
}
}
.product__tax.caption.rte a {
color: rgb(var(--color-foreground));
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
No thanks.
I want the colour swatches to be bigger so that customers can easily see the grain in the images.
This is an accepted solution.
Hi @T-Hubscher,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
.swatch--square {
height: 50px !important;
width: 50px !important;
}
</style>
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024