View Single Post
Old 10-06-2020, 10:13 AM   #51
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Quote:
Originally Posted by jackie_w View Post
Maybe this is too late ... I don't know whether you're aware but there are 2 Find/Replace options in nickel.yaml patch Custom new header/footer font to fine-tune the relative positions of:
- header caption and first line of page text
- footer caption and last line of page text
Spoiler:
Code:
        # 2b. All models (optional): Fine-tune footer position by adjusting margin-top value
        #     A negative margin-top (e.g -10px) moves the footer text slightly upwards
        #     further from the bottom bezel/progressbar, closer to the page content
        - Find:    "#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n  font-size: 14px;\n}"
          Replace: "#caption[newFooter=true] {\n  font-size: 14px; margin-top: 0px;}"
        
        # 2b. All models (optional): Fine-tune header position by adjusting margin-bottom value.
        #     A negative margin-bottom (e.g -10px) moves the header text slightly downwards
        #     further from the top bezel, closer to the page content
        - Find:    "#caption[newHeader=true][qApp_deviceIsTrilogy=true] {\n  font-size: 14px;\n}"
          Replace: "#caption[newHeader=true] {\n  font-size: 14px; margin-bottom: 0px;}"


E.g. as outlined in the help notes, using a negative px-value for margin-top in the first of the above Find/Replaces will allow you to set the header/footer smaller in patch Reduce new header/footer height without the footer caption cutting into the progressbar along the bottom. See screenshots 3 & 4 in this post.

Hah! I didn't know about that little addition in the Custom new header/footer font patch! Thanks!! I've messed around a bit with both that and the Reduce new header/footer height patch and now have my footer exactly the way I want it, with the book text nice and close to the bottom of the page/bezel. I really couldn't live with the book text so far away from the bottom!

It's a shame the header reduces size as well though. What I really want is a patch that only reduces the footer height, or a patch that reduces the heights of footer and header separately, but I vaguely recall reading somewhere that this is not possible... ?

In any case now I probably don't have to downgrade back to firmware 4.9.x (which has my favourite reading setup [with patches]), as a small header is easier for me to live with than a big footer I'll have to do some more test reading to be sure though

Thank you Jackie!
Mrs_Often is offline   Reply With Quote