There is no strikethrough for the compared price on the Capital theme. The strikethrough does not show up in collections or on the product page. Is there a way I can fix this issue?
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community! ![]()
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
thanks for url can you try this code
- Go to Online Store->Theme->Edit code
- Asset->/theme-index.min.css ->paste below code at the bottom of the file.
.product-item-price .is-sale + span.money.rrp {
text-decoration: line-through !important;
}
It worked for my homepage collection but the strikethrough is still not on my product pages nor the category’s listed below:
”You may also like”
“Shop now”
yes, please add this code
.product-item-price .rrp, span.product-price-compare.money {text-decoration: line-through !important;}
Nothing changed. I even tried adding both codes. The only strikethrough I see is the ones on the home page
Please add this extra line.
span.product-price-compare.money {text-decoration: line-through !important;}
oh sorry can you try this code
- Go to Online Store->Theme->Edit code
- Asset->/theme-product.min.css ->paste below code at the bottom of the file.
.product-item-price .rrp {text-decoration: line-through !important;}
Okay, that worked. The only strikethrough missing now is on the products and the “shop now” page
So when I click on a certain product it looks like 2 prices without the strikethrough on the compared price.
yes, please send screenshot
Please add this the code.
span.product-price-compare.money, span.money.rrp {text-decoration: line-through !important;}
Thank you, It fixed the strikethrough on my products descriptions page.
The only missing strikethroughs now are on my “shop now” page where all my products are.
Please add the previous code to Asset->/theme-collection.min.css and it should work.
Thank you!!

