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

Foot in the middle of the page #1578

Closed
2 of 6 tasks
zhanghaomiao opened this issue Mar 12, 2018 · 4 comments
Closed
2 of 6 tasks

Foot in the middle of the page #1578

zhanghaomiao opened this issue Mar 12, 2018 · 4 comments

Comments

@zhanghaomiao
Copy link

  • This is a question about using the theme.
  • This is a feature request or enhancement.
  • I believe this to be a bug with the theme.
    • I am using the latest version of the theme.
    • I have updated all gems with bundle update.
    • I have tested locally with bundle exec jekyll build.

When I add a html page in my markdown post, the Foot is not at the bottom, but in the middle of my page.
It's like this

bokeh

Environment informations

  • Minimal Mistakes version: 4.10.0
  • Jekyll version: 3.7.3
  • GitHub Pages hosted: yes
  • Operating system: Linux/Ubuntu

Expected behavior

The Foot should be placed at the bottom

Here is my file
zip_file : file.zip

@mmistakes
Copy link
Owner

You're loading some arbitrary JavaScript and CSS that appears to be messing with the page.

image

I don't think the theme is at fault here. What you might want to try is adding the JavaScript to the footer so it loads after the theme's main scripts. They determine the height of the page to force the footer to the bottom, your scripts are likely interfering with this which is causing the footer to be placed in the middle of the page.

@zhanghaomiao
Copy link
Author

How can I add the JavaScript to the footer? I'm new to the JavaScript, and I'm not good at this. Could you show me how to do this? Thanks.

@mmistakes
Copy link
Owner

Please read the theme's documentation.

https://mmistakes.github.io/minimal-mistakes/docs/javascript/

@mmistakes
Copy link
Owner

Related #1494, #1504, #1427

okitem pushed a commit to okmalls/okmalls.github.io that referenced this issue Sep 21, 2024
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