WordPress.org

Support

Support » Themes and Templates » Origami » Sticky Footer

Sticky Footer

  • Greg, the more I play around with Origami the more I love it.

    I almost have my website migrated over, hurray! (Interconnect’s search and replace tool is excellent and a time-saver 🙂

    Minor request, could you please incorporate sticky footer to the theme. I have never liked seeing the footer half way up the screen on posts that dont have enough content to reach the bottom, it just doesn’t look professional.

    Thanks,
    BB

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could make a child theme and incorporate your own.

    http://codex.wordpress.org/Child_Themes

    Adding a sticky footer takes very little.

    css

    html {
      height: 100%;
    }
    
    body {
      height: 100%
    }
    
    .page-wrap {
      min-height: 100%;
      /* equal to footer height */
      margin-bottom: -60px;
    }
    
    footer {
      height: 60px;
    }

    html

    <section class="page-wrap">
     page content
    </section>
    
    <footer> sticky footer content </footer>

    Thanks for help.

    I tried a couple different techniques and they didn’t work as expected. The above code does place the footer at the bottom but there is a gap between the body content and the footer.

    Theme Author Greg Priday

    @gpriday

    Feature request noted. I’ll see what I can do 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sticky Footer’ is closed to new replies.
Skip to toolbar