View Single Post
Old 05-02-2015, 05:24 AM   #36
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by GeoffR View Post
The CSS for the footer changed significantly in version 3.13.1, and padding no longer works for some reason. I don't fully understand how the footer works, the existing patch was created mainly by trial and error. Margin-top and margin-bottom still work, but a too-large positive margin-bottom results in a cut-off footer, while a too-large negative margin-top dosn't seem to have that problem, and I think you can achieve any size and position of footer by changing just the min/max-height and margin-top.

You can change the font-family by adding the following two lines to the end of the patch. Don't edit the first line, but you can change the font name in the second line, and unlike other replacement strings in the patch it is okay to change the length of this one:
Code:
replace_string = 00D7, `#caption[qApp_localeName="ja_JP"] {`, `#caption                          {`
replace_string = 00F9, `{font-family: Sans-SerifJP;}`, `{font-family: Avenir;}`
However be warned there might be some funny results if you use any font other than Georgia or Avenir.
When I add these 2 lines to the patch, I get an error and the batch file stops at that point. I've tried adding it to the "Custom reading footer style" and to the "Custom footer" sections with the same result. I haven't changed anything in those 2 lines since I want the Avenir font. I'm sure I'm doing something wrong or placing it in the wrong spot maybe?
Ripplinger is offline   Reply With Quote