Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #810040
    Zeshan
    Member

    You’re welcome!

    #822366
    o4kirill
    Participant

    Hi guys,

    Just launched a web-site on X Theme using Integrity stack Light. having the same issue..
    Javascript code (below) is not helping unfortunately..

    jQuery(document).ready(function($) {
    var $main = $(‘.x-main’),
    $windowHeight = $(window).outerHeight(),
    $masthead = $(‘.masthead’).outerHeight(),
    $wpbar = $(‘#wpadminbar’).outerHeight(),
    $footer = $(‘.x-colophon.bottom’).outerHeight() + $(‘.x-colophon.top’).outerHeight();

    $main.css(‘min-height’, $windowHeight – $masthead – $wpbar – $footer – 66);
    });

    Can you please assist? We need a footer to be in the bottom of the page..
    Links to see what’s going on:
    http://bedroom-bar.co.uk/food/
    http://bedroom-bar.co.uk/gallery/

    Thank you very much
    Best
    Bedroom Bar

    #822855
    Lely
    Moderator

    Hi There,

    Thanks for posting in. To make the footer to be fixed at the bottom of the page no matter what the content height is, please add the following CSS instead:

    .x-colophon.bottom {
        position: fixed;
        bottom: 0;
        width: 100%;
        background: red;
    }

    Above javascript code is not needed. The CSS will make it fixed at the bottom.

    Hope this helps.

    #823586
    o4kirill
    Participant

    Hey,

    Many thanks for your answer. This simple CSS really helped to keep the footer at the bottom!
    Just one more thing please..

    Can we also keep the background image 100% height cause it still reacts on content height here:
    http://bedroom-bar.co.uk/contact/

    Thanks again for your help and for an amazing theme you guys created.

    Best
    Bedroom Bar

    #824069
    Jade
    Moderator

    Hi there,

    You can add this under Custom > CSS in the Customizer.

    .page-id-152 #x-section-1 {
        height: 100vh;
    }

    Hope this helps.

    #827483
    o4kirill
    Participant

    Thank you very much you ve been very helpful

    #827981
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

    #894376
    darlene_cain
    Participant

    I was experiencing the same problem, and the custom javascript code you gave Brent F. works for me as well. X Support is the greatest!

    #894665
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again

    Have a great day! 🙂

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