Skip to content
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

main content shadowed by the footer #22

Closed
xivid opened this issue Jul 2, 2018 · 1 comment
Closed

main content shadowed by the footer #22

xivid opened this issue Jul 2, 2018 · 1 comment

Comments

@xivid
Copy link

xivid commented Jul 2, 2018

I know this is a feature, but I am wondering how I can keep the footer at the page bottom while not letting it shadow the main content. I don't want the footer bar to disturb the reader when the actual page bottom has not been reached.

Any suggestions/pointers would be welcome.

@xivid xivid changed the title main content covered by the footer main content shadowed by the footer Jul 2, 2018
@alshedivat
Copy link
Owner

If you want the header/footer to not move while scrolling the page, you will need to change the styles of the corresponding blocks by removing position: fixed;. For the header, it is defined in _header.scss and for the footer in _footer.scss. Simply removing these styles may add some unnecessary padding before/after the corresponding blocks.

It would be wonderful if you could add a couple of options in _config.yml that control this behavior of the header and footer (and correctly handle the padding) and send a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants