Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1051103
    jorimdeporim
    Participant

    Hi,

    I’d like to have a sticky footer for pages that aren’t long enough to fill up the entire screen. I found a thread concerning this: https://community.theme.co/forums/topic/sticky-footer-2/ but unfortunately it doesn’t work with my site 🙁 I can’t respond to the thread so that’s why I created an new one.

    I hope you can help me!

    #1051196
    Joao
    Moderator

    Hi There,

    Please provide us the URL and point us the page you would like to have the sticky footer.

    Thanks,

    Joao

    #1051303
    jorimdeporim
    Participant
    This reply has been marked as private.
    #1051412
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance Customizer Custom CSS

    .home .x-colophon, .page-id-2 .x-colophon {
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    }

    Hope that helps,

    Joao

    #1051439
    jorimdeporim
    Participant

    Joao, you just made my day, thanks so very much!

    #1051453
    jorimdeporim
    Participant

    Oops, there’s one issue! When I view the ‘Over’ page on a mobile device, I still see a sticky footer on the bottom of the screen.
    My problem was that I didn’t have enough content to fill up the screen, so the page would look weird on large screens, with a footer halfway on the screen. The sticky footer solves that problem, but it wasn’t a problem on smaller screens. Now the page looks weird on small screens!
    Is there a solution for this?

    #1051904
    Rad
    Moderator

    Hi there,

    Please update your CSS to this,

    @media ( min-width: 980px ) {
    .home .x-colophon, .page-id-2 .x-colophon {
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    }
    }

    Hope that helps.

    #1052101
    jorimdeporim
    Participant

    It worked! Thanks 🙂

    #1052103
    Rad
    Moderator

    You’re welcome!

  • <script> jQuery(function($){ $("#no-reply-1051103 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>