View Single Post
Old 01-09-2017, 11:53 AM   #1675
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,257
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by giddie View Post
It would be really awesome to have the option to modify all "text-align: center" CSS rules to "text-align: center !important", in order to override the default "div, p { text-align: %1 !important }" rule when exporting kepub.
I'm not sure whether this is helpful to you but one of the patches in the Kobo Patcher will let you change that default "div, p { text-align: %1 !important }" to "body { text-align: %1 !important; }".

If you're already using the Patcher for other things the one to look for is labeled "patch_name = `Un-Force user text-align in div,p tags in KePubs`"
jackie_w is offline   Reply With Quote