Footer Widget Area - Show Only On HOMEPAGE

hi guys

i try to add a footer widget on my theme where i want to put some unique seo txt and i want this widget to be visible only on home page, not on any other pages like page 1, page 2 etc.

i have a plug in doing this but the widget still show on page1,page 2 and so on. how do i set it to be only visible on home page ? is there any custom css code that will do this?

also, is there any way to avoid pagination ? what about something like displaying posts on home page like carousel or something else.just saying,

thx

Hi There,

It sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

Thank you for your understanding.

looks like u did not understand what i am saying.i am not asking for any support for any plug in , i am asking how i show footer widget only on home page and not on page1,page 2 etc on xtheme. footer widget by default is showing site wide and i dont want that. is there any setting on xtheme that can fix that or any custom css to avoid showing footer widget site wide?

i added that plug thinking will fix my problem without coming here asking for support but the plugin could not fix my issue so i remove it.

Hello @Costache,

Thanks for updating the thread and I am really sorry for the confusion.

You can add following CSS under X > Launch > Options > CSS to show footer widget area only on home page:

.home .x-colophon.top {display: block;}

.x-colophon.top {display: none;}

Please let us know how it goes and sorry for the confusion.

Thanks.

looks like is still showing it on page/2/ , page/3/ etc.
the widget have SEO txt on it and that’s why i want it home page only and not on any other page of my website.

thx

Hello @Costache,

Can you please share website URL for us to take a closer look?

Thanks.

i posted url into a secure note because is adult related.

thx

The CSS we’ve given is working. Please clear your browser’s cache or view in incognito mode.

Thanks.

tested on every way and the footer txt widget is visible on all pages like page/2//3/4 etc . if u click any pagination at the bottom of the site u will see the same txt widget on all pages and this is what i dont want .

thx

Hi there,

Thanks for clarifying.

Please update this code:

.x-colophon.top {display: none;}

to

.x-colophon.top, 
.paged .x-colophon.top {
    display: none;
}

Hope this helps.

1 Like

working great. thank you

You’re welcome.

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