View Single Post
Old 04-30-2015, 02:07 PM   #30
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 Jellby View Post
Could we have padding-bottom and font-family in the custom footer style patch?
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.
GeoffR is offline   Reply With Quote