Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi!
I’m having a hard time figuring out how to grey out sold out product variants. I would also like to replace the strikethrough line with a diagonal line.
Can someone help me?
Theme: Dawn
Password: AMANEC
Hi @Minako85
You can do that by adding this code at the bottom of your base.css file
.product-form__input:has(input.disabled) label {
background-color: #e3e3e3 !important;
}
- 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.
Thank you!
If you also know how to change the strikethrough over the text to a diagonal line, I would really appreciate it.
Thank you!
Hi there @Minako85
Can you provide the store url so I help you make diagonal line instead of strike through.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025