View Single Post
Old 11-17-2021, 08:10 AM   #69
CrazyPencil
Junior Member
CrazyPencil began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2021
Location: Russia
Device: Kobo Clara HD
Quote:
Originally Posted by Carmelocotonto View Post
Hi, if I have understood your problem, I think this is the solution. I have patched "Custom header/footer captions" this way (only the necessary part) and header/footer is gray:
The problem is not font color or font family, it works fine, but the combination of "Reduce new header/footer height" (45px) and "Custom header/footer captions" with changed margin-top/bottom.

Quote:
Originally Posted by Semwize View Post
@CrazyPencil
Post your changes that you made in the old version of the patch. Everything can be configured the same way.
It used to be like this:

Reduce new header/footer height:
- Enabled: yes
- FindZlib: "ReadingFooter" # qss/ReadingFooter.qss
- ReplaceZlibGroup:
# Adjust the Replace values of min-height/max-height as you wish.
# Keep min-height=max-height
Replacements:
# ReadingFooter Reduce min/max height by 33%
# AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2 (Dragon)
- Find: "ReadingFooter[qApp_deviceIsDragon=true] {\n min-height: 101px;\n max-height: 101px;\n}"
Replace: "ReadingFooter[qApp_deviceIsDragon=true] {\n min-height: 45px;\n max-height: 45px;\n}"

Custom header/footer captions:
- Enabled: yes
# Un-comment and customise ONLY ONE of the following to change header/footer font-family
#- {Find: "font-family: Avenir;", Replace: "font-family:Avenir;"}
- {Find: "font-family: Avenir;", Replace: "font-family:'Trebuchet MS'; background:transparent; color:#666666"}

# 2a. Touch/Mini users only: Adjust footer font-size as required.
# 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: -25px;}"

# 2a. Touch/Mini users only: Adjust header font-size as required.
# 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: -10px;}"

Last edited by CrazyPencil; 11-17-2021 at 08:14 AM.
CrazyPencil is offline   Reply With Quote