Make height auto adjust to 100% (3 posts)

  1. jlbreak
    Posted 3 years ago #

    Site: jaredfreemanphotography.com

    I would like each page's height to be 100% regardless of how little content is in them. So for the About page, I would like the footer to end up at the bottom even though there isn't enough content to push it down. I don't want to use a set pixel height because it will look different on various screen resolutions.

    Thanks for any help.


  2. Lance Willett
    Posted 3 years ago #

    Oops, edited since I posted to the wrong thread.

  3. Lance Willett
    Posted 3 years ago #

    Hi jlbreak, this is actually pretty tricky to achieve. I don't think it'd be a quick thing to add to this theme. There are various CSS techniques you can try, search for "sticky footer" like http://css-tricks.com/snippets/css/sticky-footer/ for example.

    Good luck, and if you find an elegant solution please share it back for anyone else who comes across this later.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.