View Single Post
Old 10-26-2014, 09:43 PM   #55
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
The parts of the footer patch CSS are:
- min-height/max-height: sets the height of the footer
- font-size: height of the text within the footer (vertical position of text within footer depends on font-family)
- margin-top: minimum space between the top of the footer and the book text
- padding-bottom: space between the bezel and the bottom of the footer
- footerMargin: I have no idea what this does. As far as I can tell it does nothing.
Code:
                     BOOK TEXT
               ----------------------
                                     } <-- margin-top
               ----------------------
                                     }
font size --> {    Page 34 of 408    } <-- min-height/max-height
                                     }
               ----------------------
                                     } <-- padding-bottom
               ----------------------
                       BEZEL
Edit: Other things that can affect the gap between footer and book text:
- the font-family used for the book text (some fonts such as Gothic sit lower on the line, occupying some of the footer gap)
- widows/orphans settings in the book (can be disabled with the `Fix page breaks bug` patch)
- @page margins settings in the book (can be stripped easily with Modify ePub plugin)
- .xpgt settings in the book (.xpgt file and links can be deleted easily with Modify ePub plugin)
- `ePub adjustable top/bottom margins` and `ePub fixed top margin` patches (these override the @page margin settings in the book)

Last edited by GeoffR; 10-27-2014 at 03:13 AM. Reason: Other things ...
GeoffR is offline   Reply With Quote