Campaign prices: old price has strike-through line too low

Developer
Tól től United Kingdom
Tagság dec. 2024 óta

I had this problem in Windows 11/Firefox 133.0.3, with old prices being underlined instead of having a line through the middle. A bit of on-line searching helped me find a fix - in your framework.css file, add this entry:-

del {
text-decoration: none;
background: linear-gradient(#666, #666) no-repeat center 0.55em / 100% 3px;
}

This switches-off the regular strike-though and adds a thick, dark gray horizontal line through the middle of the text.

I'm not certain that this is a Litecart problem: it looks more like a Firefox one. Has anyone else seen it?

Developer
Tól től United Kingdom
Tagság dec. 2024 óta

Thanks jackmaessen - I think I searched the forum for "strikethrough" instead of "strike through" and didn't find that topic. I also found some mozilla documents suggesting either the problem had been fixed or it was due to badly arranged styling elements. The re-styling of the del element does have the advantage of being able to keep the asap font and to adjust the thickness of the strike through line.

Te
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.