Thread: Aura E2 Drop cap weirdness.
View Single Post
Old 04-12-2022, 06:30 PM   #21
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,402
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Removing the class from the span or making the class in the CSS a do-nothing are effectively the same. My personal choice is to replace the entire span by using a simple regex in Sigil. Something like <span="dropcaps">(.*?)</span> with the replace being \1 (basically whatever the expression inside the brackets works out to, generally a "[A-Z] or [A-Z]. The next time I run Delete unused stylesheet selectors, the entry in the CSS stylesheet also vanishes.

As usual, many ways to achieve the same end. Whichever one you find easiest is the best choice for you.
DNSB is offline   Reply With Quote