How to remove footer widgets from all pages except main home page?

Hi.

My friend and I are creating a site at https://www.thosecrazyvegans.net and need help with the footer widgets. There are three columns for the widgets and each of them has a line above which we would like removed. How to do this? Also, we would like to know how to implement the footer widgets for the home (main) page only, and to remove the footer widget from every other page. How is this possible? Thank you.

The Jetpack plugin has a cool feature called ‘Widget visibility’ that allows you to determine which pages plugins should appear on. https://jetpack.com/support/widget-visibility/

Hi and thank you for the quick reply. Is there a way to do this without a plugin as I already have too many installed? I also found out from a few people that Jetpack plugin is pretty heavy and it also caused issues with my site.

I figured how to remove the lines above the columns, how to do the rest? See main post. Thanks.

Hi There,

To remove the footer widget on the other pages, please add the following CSS under Customizer > Custom > Global CSS:

body:not(.home) .x-colophon.top {
    display: none !important;
}

Hope it helps :slight_smile:

1 Like

Thank you Thai, it worked.

You’re welcome.

1 Like

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