Quote:
Originally Posted by Dirk-71
I've tried this for my Kobo Glo HD but get a failure. How has the code to look like for the Kobo Glo HD (Alyssum)? I've uncommented the line with Alyssum but it doesn't seem to work.
|
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.