View Single Post
Old 01-12-2018, 09:15 AM   #222
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by gaurav_singh_md View Post
I enabled this patch but the footer still looks too big (while reading). Do i need to modify something in the patch for it to work? i enabled the full screen mode as well and even there the bottom margin looks big. Before enabling this patch the header and footer were the same size in full screen. i have a kobo aura one. Thanks.
Note: Try the GeoffR's answer first. Probably it solves your case.

I don't know what's exactly what you want (small font, small gap,...)
Sorry, I can't put you a screenshot. It's only an example. Change at your own.
Spoiler:
Code:
<Patch>
patch_name = `Custom reading footer style (SMALL version)`
patch_enable = `yes`
#
find_base_address = `ReadingFooter {\n  qproperty-footerMargin: 105;\n}\n`
# For KA1
replace_string = 0000, `ReadingFooter {\n  qproperty-footerMargin: 105;\n}\nReadingFooter[qApp_deviceIsDragon=true] {\n  qproperty-footerMargin: 170;\n}\nReadingFooter[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_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}\n`, `ReadingFooter[qApp_deviceIsDaylight=true] {qproperty-footerMargin:74;min-height:60px;max-height:60px}\n#caption[qApp_deviceIsDaylight=true] {font-family: Georgia; font-size: 32px; margin-top: -08px}\n                                                                                                                                                                                                                                                                                                                                                                                                               `
# For any
#replace_string = 0000, `ReadingFooter {\n  qproperty-footerMargin: 105;\n}\nReadingFooter[qApp_deviceIsDragon=true] {\n  qproperty-footerMargin: 170;\n}\nReadingFooter[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_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}\n`, `ReadingFooter {qproperty-footerMargin:105;min-height:70px;max-height:70px}\nReadingFooter[qApp_deviceIsDragon=true] {qproperty-footerMargin:170;}\nReadingFooter[qApp_deviceIsDaylight=true] {qproperty-footerMargin:75;}{min-height:60px;max-height:60px}\n#caption {font-family:Georgia;font-size:14px;margin-top:-08px}\n#caption[qApp_deviceIsTrilogy=true] {font-size:19px;}\n#caption[qApp_deviceIsPhoenix=true] {font-size:23px;}\n#caption[qApp_deviceIsDragon=true] {font-size:29px;}\n#caption[qApp_deviceIsAlyssum=true] {font-size:32px;}\n#caption[qApp_deviceIsDaylight=true] {font-size:34px;}\n            `
</Patch>

My changes are in red. Try with your data until... you know.
Good luck.

Last edited by jcn363; 01-12-2018 at 09:25 AM. Reason: note
jcn363 is offline   Reply With Quote