Unwanted space under the footer

Hello,

I have a quick question about my footer.

I don’t understand why a space should be created after my footer : https://www.jadranko.com/
I checked the latter, there is no margin/padding and no other elements that could justify this space.

Do you have any information on this subject?

Have a good day, everyone,
Jaadra.

Hey Jaadra,

Thanks for posting in!

I have checked your site and the issue is because of the invalid JS code that you have added in the Custom JS section of the Theme Options, Footer and the Pro editor’s custom JS section. Please remove this code:

Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-93227411-1"></script> <script>window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-93227411-1');</script>  <script>!function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('init', '1129795010531208');
  fbq('track', 'PageView');</script> <noscript><img
height=1 width=1 style=display:none
src="https://www.facebook.com/tr?id=1129795010531208&ev=PageView&noscript=1"></noscript>

Hope this helps. Please let us know how it goes.

Hi @RueNel

I deleted the JS code and then I cleared the cache of the site but it doesn’t change anything.

Space is always present… :’(

Do you have another solution?

Thanks to you!!!

Hey Richard,

Thank you for the update. I checked your site and it seems like the space is coming from The Grid extension used on your page. To fix the issue, please add the following code in the Theme Options > CSS:

figure {
    margin: 0 !important;
}

Don’t forget to clear all caches including your browser’s cache after adding the code. Let us know how this goes!

It’s perfect ! Thank’s @Nabeel :smiley:

You’re welcome. Glad we’re able to help.

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