View Single Post
Old 12-19-2018, 12:04 PM   #129
Dirk-71
Groupie
Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.
 
Posts: 168
Karma: 35462
Join Date: Dec 2016
Location: Germany
Device: Kobo: Clara BW, Libra 2, Aura One, Aura H2O
Quote:
Originally Posted by jcn363 View Post
Code:
Reduce reading footer and quit caption:
  - Enabled: no
  - Description: |
      Based on GeoffR's `Custom reading footer style`
  - FindReplaceString:
      Find:    "ReadingFooter {\n  qproperty-footerMargin: 105;\n}\n\
                ReadingFooter[qApp_deviceIsDragon=true] {\n  qproperty-footerMargin: 170;\n}\n\
                ReadingFooter[qApp_deviceIsDaylight=true] {\n  qproperty-footerMargin: 221;\n}\n\
                #caption[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n\
                #caption[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}\n\
                #caption[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n\
                #caption[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n\
                #caption[qApp_deviceIsNova=true] {\n  font-size: 32px;\n}\n\
                #caption[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}\n\
                #caption[qApp_localeName=\"ja_JP\"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}"
# When editing the replacement values below,
# BE CAREFUL NOT TO CHANGE THE LENGTH OF THE REPLACEMENT STRING!
      Replace: "ReadingFooter {qproperty-footerMargin: 00; min-height: 15px; max-height: 15px;}\n\
                #caption{qproperty-visible:false;}\n                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         "
      MustMatchLength: yes
Note that, for any patch, you can only change the Replace part (green). The Find part is the original one and the Replace part is which you want to put in.
The # is inside the Find part and it is part of the variable name, not a remark sign.
In this case the height value (purple) is the important one for you.

Good luck.
Ok, thank you! I tried to patch it in libnickel but it came out, it is a patch for nickel. It's working now and indeed the footer space is gone
Dirk-71 is offline   Reply With Quote