Show only slider on homepage

Hi there,

I’d like to show only the slider on the home page. I found your code snipped which makes it possible to hide the text area - but not the footer. I’d also like to hide the footer only for the home page where the slider is.

Is there any possibility to do so?

Thank you for your time,
Tom

Hi,

To hide the footer on the homepage, you can use this CSS code:

.home .site-footer {
    display: none;
}

Regards,
Awan

Hi Awan,

strange, that does not work. “.page-wrap” command for hiding the “white area” works perfectly. But when I add the .site-footer command, nothing changes, footer is still there.

I added the following codeblock to the “additional css” in the customizer:

.home .page-wrap {
display: none;
}

.home .site-footer {
display: none;
}

Any Ideas?

Hi,

Did you have widgets on your footer? if yes, then please change the code in above using this:

.home .footer-widgets, .home .site-footer {
    display: none;
}

If its still not working, please share your site URL here.

Regards,
Awan

Thank you very much Awan,
that worked perfectly!!!