View Single Post
Old 02-24-2024, 07:10 PM   #35
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: 80,025
Karma: 147977995
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 DNSB View Post
Using a Kindle Paperwhite 10th Gen with firmware 5.16.6. I added the following CSS to the ePub file's stylesheet using Sigil before converting them to azw3 in calibre 7.5.1 (note that I wrapped the extra CSS in a media query).

Code:
@media amzn-kf8 {
  html {
    margin-left: -50px;
    margin-right: -50px;
    break-inside: avoid !important;
  }
}
I did this with 3 books (Sigil User's Guide, calibre User's Guide and Fated Blades by Ilona Andrews). I opened all of them on the Paperwhite, paged around, switched to some other ebooks and back. So far nothing other than the narrower margins on those 3 were seen.
This CSS code fails on a PW5. If you remove the @media part, it works no problem. I do use -45px instead of -50px.
JSWolf is offline   Reply With Quote