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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-19-2026, 04:14 PM   #1
rockster
Connoisseur
rockster began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Sep 2012
Device: kindle
Problem overwriting default books font

I am using css code like this to overwrite the default font for all books:

Code:
font-family: "DejaVu Sans", serif !important;
It works for some books but for some it doesn't. Why?
rockster is offline   Reply With Quote
Old 03-19-2026, 06:18 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,515
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by rockster View Post
I am using css code like this to overwrite the default font for all books:

Code:
font-family: "DejaVu Sans", serif !important;
It works for some books but for some it doesn't. Why?
Are you doing this for eBook you'll be reading on a Kindle? Also, post the CSS (in a code block) of one of the books that fails.
JSWolf is offline   Reply With Quote
Advert
Old Yesterday, 03:01 AM   #3
rockster
Connoisseur
rockster began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Sep 2012
Device: kindle
Not on Kindle, i am reading the ebooks on calibre ebook viewer. CSS styles in ebook viewer preferences are global.
rockster 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
Problem with Apple Books Default View (EPUB 3) Shane.Klink ePub 1 10-13-2020 11:42 PM
Problem with Apple Books Default View Shane.Klink Apple Devices 6 10-13-2020 06:41 PM
Overwriting books Jsolomon Marvin 2 08-24-2016 11:39 AM
Calibre not overwriting ePub CSS font info jswinden Calibre 4 04-06-2010 01:29 PM


All times are GMT -4. The time now is 10:18 PM.


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