Blank space between the footer and pre-footer - Theme DEBUT

Hello everyone,

I recently added Trust Badges in the pre-footer, but I end up with blank space between the footer itself and the pre-footer that I can’t seem to get rid of. Could someone help me with this? See the image below.

I have tried several code provided in this community unsuccessfully.

Thanks in advance!

1 Like

@Toteaddicts

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

hello @Toteaddicts

Please provide website url and if your store is password protected then also provide password So I will check and provide a solution here.

Hi,

Here is my URL : https://toteaddicts.com

I’ll send you the landing page password in private.

Thanks!

1 Like

All help is welcome!

hello @Toteaddicts

please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.

@media only screen and (min-width: 749px) {
.site-footer{
	margin-top: 0 !important ;
}
}

@Toteaddicts

yes please add this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.css ->paste below code at the bottom of the file.
    this code apply for after 5 - 6 second
.site-footer {margin-top: 0;}

Hi,

Thank you for your help, problem fixed on the home page as you can notice below.

But it has created another problem on others pages. there is no more space between the footer and elements below, look:

This is only one of the page who lost space. Is there any solution?

Regards,

1 Like

@Toteaddicts

oh please remove first one and add this code

.template-index .site-footer {
    margin-top: 0px !important;
}
2 Likes

hello @Toteaddicts

please remove the last code and update with this code

@media only screen and (min-width: 749px) {
.template-index .site-footer {
    margin-top: 0px !important;
}
}
1 Like