-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a sticky header option for the theme #4
Comments
The header doesn't appear to be sticky on cncf.io. It is though on the Chips Alliance site which uses the Sendit Hugo theme. |
Are you on www.cncf.io? It should be sticky there. If not, can you provide your browser info? |
Yes.
That site reported my browser as
|
On cncf.io, since your viewport height is less than 615px, the header will not be sticky for you to save you some limited vertical real estate. If you expand your viewport taller than 615px then you'll see that the header is sticky. |
I see, thanks for the explanation. I can see it is indeed sticky when I enable full screen mode. I would have assumed it would scale appropriately depending on the device. Do I change this line to expand my viewport? I note it only specifies a width and not a height. |
Your viewport is the viewable area inside your browser. To expand your viewport try expanding your browser or, if necessary, use a larger monitor. |
Ah I see thank you. At the moment the most I can do is enter full screen mode and as already stated I can then see the sticky header. Thanks again. |
Signed-off-by: Chris Abraham <cjyabraham@gmail.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Similar to what is used on cncf.io see if its easy to build an option so that sticky header can be turned on and off via config
The text was updated successfully, but these errors were encountered: