Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 05-18-2011, 11:41 PM   #1
ptsefton
Junior Member
ptsefton began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2011
Device: none
Changing or removing <div class="calibrenavbar">

Is the navbar generated by ebook-convert when using a recipe configurable?
ptsefton is offline   Reply With Quote
Old 05-19-2011, 01:16 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,950
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Not without editing the source code.
kovidgoyal is offline   Reply With Quote
Old 05-25-2011, 08:19 PM   #3
ptsefton
Junior Member
ptsefton began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2011
Device: none
OK - I see where that is being built, in FeedTemplate(Template).


Firstly, I am curious as to why there is navbar in the recipe conversion and not in the HTML input?

Secondly, would you consider an option to turn it off? I'm happy to have a go at making it happen if it is feasible.

Finally - would it be possible to override that code in a recipe?
ptsefton is offline   Reply With Quote
Old 05-28-2011, 08:30 AM   #4
Bonex
Connoisseur
Bonex began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Oct 2010
Device: KDXG, Kobo Glo, Kobo Aura HD
Quote:
Originally Posted by ptsefton View Post
Secondly, would you consider an option to turn it off? I'm happy to have a go at making it happen if it is feasible.
I second this request for an option to turn it off. The KDXG already has navigation buttons on the status bar, so I don't need those created by calibre.

Anyway, there's a workaround:
Quote:
Originally Posted by ptsefton View Post
Finally - would it be possible to override that code in a recipe?
The navbar created by calibre itself is different from the one created by ebook-convert. ebook-convert encloses it in a <div> tag with a class named "calibre_navbar", while calibre calls it "touchscreen_navbar". A workaround to delete it in a recipe is to use the extra_css option like this:

Code:
extra_css = '.touchscreen_navbar {display: none;}'
I hope this helps
Bonex is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Items from "I'm Reading" sunami88 Kobo Reader 10 12-19-2010 01:39 PM
Changing book titles of epubs (specifically removing "Barnes & Noble Classic Series" jettrue Calibre 3 08-03-2010 09:02 AM
How to reduce indents without "removing space between paragraphs" Skydog Calibre 5 06-05-2010 12:58 AM
Professor sees e-reading "changing the very nature of humanity" danbloom News 39 11-02-2009 05:10 PM
Line indents using "<div>" tags HarryT Kindle Formats 11 04-29-2009 10:18 PM


All times are GMT -4. The time now is 10:51 AM.


MobileRead.com is a privately owned, operated and funded community.