Hi Experts,
I am facing issue to highlight swatch when product is not available , currently using canopy elegant theme.
https://capitalstoreoman.com/products/colours-eye-colour-palette?variant=47586925216046
There are 4 variant of the product 2 are out stock and 2 are in stock, i need to bold the cross line on the product may be red line instead that gray.
Hey @Salim629 ,
Can you try this -
-
Go to styles.css
-
Search for .product-form .selector-wrapper.selector-wrapperâswatch.selector-wrapperâswatch-image a.unavailable:after
-
There you will see background rule -
background-image: url(âdata:image/svg+xml;utf8,â);
- Now for red color change the stroke=ârgb(255, 0, 0)â and to make it think make stroke-width=â10â (experiment with values until it looks good)
Thanks
Yash Garg
Hi Yash,
Thanks for the solution, its work. superb.
1 Like