Space under footer section and above header section

Hi all,

New site that needs different footers on different pages, so rather than create a footer I’m using a number of Global Blocks as ‘fake footers’ as necessary. WordPress page templates are set to “No Container, Header, No Footer”

Everything looks fine in Cornerstone, but the live site has an unlimited white space under the ‘footer’. If you scroll, there’s also an unlimited white space above the header.

My first thought was the problem is due to the custom Javascript I’ve added that changes menubar background color on scroll:

jQuery( function($) {
    $(window).scroll(function(){
        if ( $(this).scrollTop() <= 0) {
          $('.x-navbar').removeClass('x-navbar-fixed-top');
        }  
    });
});

However when I remove that .js the problem is still there.

Could you please take a look and give me your thoughts? Site is still in development, so not live. I’ve included login creds in the Secure Note.

Thanks in advance

Hi Gee,

Thanks for reaching out.

The login for accessing the site seems incorrect, I tried different combinations and still the same. That javascript is to remove the fixed positioning of the header but not related to any spacing.

I’ll have to check it first, please provide the correct credentials.

Thanks!

Can you please try again? I’ve just tried it and I can access it without problems.

Hey Gee,

I was able to login to your site, however i checked couple of your pages including the homepage and I don’t see the white space under the footer and above the header. This might be simply a cache issue, try clearing your browser’s cache and see if this resolves the issue?

If the issue persists then please provide the page URL in question so we can take a closer look. Thanks!

Hmm, this is embarrassing…

I’ve gone back into the site and can no longer replicate the issue! I promise it was there! :blush:

Sorry to have wasted your time. My bad…

Probably a caching related, let us know if the issue comes back.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.