Hiding widget in a static home page only containing loop

Posted in: Newspaper
Post count: 14

Hi.

My website’s url is sciencegasm.com. The upper part of the homepage is custom designed but the lower part is page + loop + homepage sidebar (different from the default sidebar). This part of the page shows navigation that if clicked leads to page-2, etc. The homepage sidebar shows at page-2 as well. Here is what I want to do:

I want to hide a specific widget (social icons) from the homepage sidebar but only in the homepage, not other pages (page-2, etc.). I was trying various css codes but couldn’t manage to solve it.

Could you help me please?

Post count: 14
Post count: 22421

Hello,
Please add this code in your theme panel-> custom css section:

.home .td_block_social_counter{
display:none;
}
.home.paged .td_block_social_counter{
display:block;
}

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.