View Single Post
Old 09-01-2010, 10:41 PM   #48
WebDesignEbooks
Member
WebDesignEbooks began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Aug 2010
Location: Canada
Device: Sony
Quote:
Originally Posted by marcot View Post
If you intend to apply styles to the navbar, don't make the same mistake I did. I tried to apply styles to the class ".calibrenavbar," which results in zilcho. If you are using an "extra-css" stylesheet from the command line ("ebook-convert" command), Calibre applies the styles to the HTML during an intermediate stage of processing, which can be viewed by using the --debug-pipeline option. Using that option would reveal that the navbar class relevant to styling is ".calibre_navbar."
Thanks for the info. I wasn't planning anything too fancy for the navigation.

Ya got me thinking though, if I have a regular external CSS file and a print CSS file in the same template, which one is Calibre going to use?
WebDesignEbooks is offline   Reply With Quote