View Single Post
Old 05-21-2015, 09:12 AM   #12
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by cramoisi View Post
For this last one, can i enable the patch to have a adjustable top margin and add a body bottom-padding in the kobo_extra.css to enable it again ?
Yes. The built-in stylesheet has the style body { padding-bottom: %1em !important; } (where %1 is the current selected line height) which is removed to make space for the patch. You can get almost the same effect by adding body { padding-bottom: 1em !important; } to your kobo_extra.css.

Quote:
Then, if I understand correctly, if I just want the top margin to be adjustable, I have to leave the top-margin line ( #replace_string = B82BBE, `%\01`, `2\05`) commented and uncomment the bottom-margin one and set it to 0px ?
Yes. But any fixed value will do, it doesn't have to be 0px.
GeoffR is offline   Reply With Quote