View Single Post
Old 10-14-2011, 07:18 PM   #87
Junior Member
jimjo23 began at the beginning.
Posts: 1
Karma: 10
Join Date: Oct 2011
Device: android
I am new to both Calibre and CSS but managed to follow the directions from this thread

I tried many times to alter the default text (i.e. CSS body tag) color of an ebook document (specifically and perhaps ironically a "For Dummies" ebook) and tried to apply the CSS stylesheets that users in this thread posted with no success even after converting the book with Calibre's converter to various formats.

I stripped out a few things which in the end I haven't missed. I noticed that calibre assigns its own moniker to the various custom CSS classes in the master stylesheet (i.e. ".Calibre17") and each has its own attributes. What a PITA this process was to figure out for a newbie...

I removed these attributes and their respective settings from all ".CalibreX" instances: "color: xxxx", "background-color: xxxx", and "display: block". For some reason I removed the last one on a whim. I have no clue what it did. Thanks.
jimjo23 is offline   Reply With Quote