View Single Post
Old 03-21-2016, 01:22 PM   #6
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,248
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@doubleshuffle,

I think your problem with 'lost text-aligns' is because the kepub renderer enforces overriding CSS for <div> and <p> elements. By default it has the following sledgehammer applied:
Code:
div, p { text-align: %1 !important; }
where %1 is your Justification setting in the Kobo's Aa menu screen.

If you're already using the Kobo Patcher for other tweaks you should try enabling the patch labeled
Code:
patch_name = `Un-Force user text-align in div,p tags in KePubs`
The patch changes the override to
Code:
body   { text-align: %1 !important; }
which matches the override for standard epubs.
jackie_w is offline   Reply With Quote