View Single Post
Old 01-06-2015, 12:05 AM   #104
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 alin72 View Post
Hi, I'm having trouble adjusting the fixed top margin. It's set at 10px, and I tried to change it to 25px by editing replace_string = C99B8C, `\x20\x00p\x00a\x00d\x00d\x00i\x00n\x00g\x00-\x00b\x00o\x00t\x00t\x00o\x00m\x00:\x00\x20\x00%\x 001\x00e\x00m\x00\x20\x00!\x00i\x00m\x00p\x00o\x00 r\x00t\x00a\x00n\x00t\x00;\x00\n\x00`, `}\x00\n\x00@\x00p\x00a\x00g\x00e\x00\x20\x00{\x00 m\x00a\x00r\x00g\x00i\x00n\x00:\x001\x000\x00p\x00x\x00\x20\x000\x00\x20\x000\x00\x20\x000\ x00}\x00\n\x00b\x00o\x00d\x00y\x00\x20\x00{\x00`
# to 2\x005.
But it kept telling me there is an error...Could you help me out? Thank you & Happy new year!
Set the margin size by changing the very last line of the patch. The example changes it from 10px to 25px:
Code:
# Replacement value: a 2-digit number (margin size in pixels) seperated by \x00
# E.g. 25 = 2\x005, 30 = 3\x000, etc.
replace_string = C99BAC, `1\x000`, `2\x005`
If you wanted it bigger, say 40px, then change the last line to:
Code:
replace_string = C99BAC, `1\x000`, `4\x000`
GeoffR is offline   Reply With Quote