View Single Post
Old 04-18-2022, 08:40 AM   #1606
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,495
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by chaley View Post
  • The empty stylesheet declarations are generated by calibre's built-in jacket builder, not this plugin. The calibre editor flags them as errors, but epubcheck doesn't care about them. I have a possible fix I will send to Kovid.
The fix, a better one by Kovid, is now in master calibre source.

EDIT: If you have customized the jacket template CSS then you must hand-port the changes to the default template into your custom one. The changed lines are:
Code:
/* Uncomment the next line to remove 'Series' from banner section */
/* table.cbj_header tr.cbj_series { display: none } */

/* Uncomment the next line to remove 'Published (year of publication)' from banner section */
/* table.cbj_header tr.cbj_pubdata { display:none } */

/* Uncomment the next line to remove 'Rating' from banner section */
/* table.cbj_header tr.cbj_rating { display:none } */

/* Uncomment the next line to remove 'Tags' from banner section */
/* table.cbj_header tr.cbj_tags { display:none } */
The old ones look like this:
Code:
table.cbj_header tr.cbj_series {
    /* Uncomment the next line to remove 'Series' from banner section */
    /* display:none; */
    }
You should use the new lines if you haven't "uncomment[ed] the next line" in the old version.

Last edited by chaley; 04-18-2022 at 11:54 AM. Reason: Added some info about the fix
chaley is offline   Reply With Quote