Archived topic
How to shrink the header height (and a few other wishes)
16 replies · Started by Nikolaj on May 28, 2019
In order to preserve the maximum amount of information please see my article defining the problem here: https://github.com/adriatic/screenshots/issues/32
Thanks and regards
Nikolaj Ivancic
Hi there,
Any chance you can provide viewing access to your site?
Thanks :)
Hi there,
Any chance you can provide viewing access to your site?
Thanks :)
Hi Leo
Please check https://github.com/adriatic/screenshots/issues/33
So the space is coming from the content padding which is currently at 60px:
https://docs.generatepress.com/article/content-padding/
The title can be removed with the disable element in the layout metabox:
https://docs.generatepress.com/article/disable-elements-overview/
Or globally using the layout element module:
https://docs.generatepress.com/article/layout-element-overview/#disable-element
Let me know if this helps :)
I tried to use your advice "The title can be removed with the disable element in the layout metabox:
https://docs.generatepress.com/article/disable-elements-overview/" - and failed to remove the title on the help page of my app. Please see Removing the title of the specific page (https://github.com/adriatic/screenshots/issues/34) for details
The steps look good to me.
Any caching plugins or server cache?
No caching - however I am using Cloudflare, which is also acting as a cache. Will disable Cloudflare and will report back here.
I will write a review tomorrow, with my brain rested. I cannot be more impressed with the architecture (and implementation as well) of your software, so I want to state that for the record
If it's just that one single page you want to remove the page title, the disable element layout metabox on that page should definitely work:
https://docs.generatepress.com/article/layout-element-overview/#disable-element
When I checked before, the content title wasn't checked there.
A few minutes later:
Disabled Cloudflare and modified the Help page title to Help x. Unfortunately, I got to see this changed title, right away, so Cloudflare is not meddling with me. If and when you get the time to have a look at my plugins, please check if I am not using something that has this issue as a side effect.
Can you try checking this?
https://www.screencast.com/t/E9Wa5hyhwV
This worked like a charm, so I am both happy and confused at the same time. I propose to keep this item not closed until such time when we find what was wrong with my first approach that is a lot more generic.
I just tested using Layout Element on my own install and it worked no problem.
This leads me to believe there is just some sort of caching issue or plugin conflicts going on in your install.
We won't really be able to tell unless you are willing to go through some debugging tips?
I would love to go through *any* debugging tips as I hate to leave any issues unresolved. Please do tell me what to do.
Try #1 here to eliminate any plugin conflicts first:
https://docs.generatepress.com/article/debugging-tips/
I'm going to guess some sort of caching is likely the reason.