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 and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. 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.
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