lisaf13 Posted March 29, 2022 Share Posted March 29, 2022 Site URL: https://www.lisafishcreative.com/ Hello! I would like to customize the 'Sold Out' mark/badge text color style on the product page of my website, specifically for when a size variant is sold out. Color is the most important factor here, however if possible I would also like to change the font to bold.I'm hoping there is way to edit the 'sold out' label font color to red (#EC1313) without it affecting the 'Size' and 'Quantity' variant label colors. Seems they share the same color (blocks, I believe) as the variant labels. At the moment, my online shop has a single product listed. The product itself isn't sold out, just the size variant. The Size variant 'Unisex S' is set to '0' quantity. I've provided 2 separate screen shots to show the product page to which I'm referring.I am using the York template 7.0 and I've found the only solution may be to customize with custom CSS. I did see a similar question posted, but I'm not sure it is exactly the same situation.Eventually, I will have color variants for shirts that I will want to apply the same 'Sold Out' styling. However, it may be that I have to choose one variant over the other, unless it is possible to apply to both. Unless someone straight up tells me it's not possible! I appreciate any help, thank you! Link to comment
paul2009 Posted March 30, 2022 Share Posted March 30, 2022 10 hours ago, lisaf13 said: I'm hoping there is way to edit the 'sold out' label font color to red (#EC1313) without it affecting the 'Size' and 'Quantity' variant label colors. The Size variant 'Unisex S' is set to '0' quantity. When I checked the S variant, it wasn't out of stock and so I couldn't see the label. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
lisaf13 Posted March 30, 2022 Author Share Posted March 30, 2022 I am so sorry! I set the S variant back to '0' again. Thank you so much! Link to comment
Solution paul2009 Posted March 30, 2022 Solution Share Posted March 30, 2022 First remove the setting that you've used to make more than one item appear red and then, if you only want to affect the variant out of stock label, add some Custom CSS like this example: .ProductItem-details .variant-out-of-stock { font-weight: bold; color: red; font-size: 1.1em; } You can remove any lines that you don't require (the weight, color or size). Did this help? Please give feedback by clicking an icon below ⬇️ lisaf13 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
lisaf13 Posted March 30, 2022 Author Share Posted March 30, 2022 Paul, thank you so much! Done. paul2009 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment