Remove \"No Comment\" section from Home Page

Posted in: Newspaper
Post count: 48

How to remove No COMMENT section ONLY from my Home Page.
If I disable it from Theme Panel, then this section gets removed from all the POSTS too that I do not want.
Please advise. Thanks.

Post count: 22421

Hello,
There is an option in the theme panel to disable comment on pages here: http://screencast.com/t/Mnj4ormbl7o or if you only want to remove comments on your homepage, then you can use css like so:
.home .comments{
display:none!important
}

Thank you!

Post count: 8

Hi there,

This code works great for the HOME page. Thank you!

If I have additional pages where I need to remove the “No Comment” section, how would I achieve that? I tried this but it didn’t work:

.home .basser-kaufman .breslin-realty .comments{
display:none!important
}

And this didn’t work either:

.home .comments{
display:none!important
}
.basser-kaufman .comments{
display:none!important
}
.breslin-realty .comments{
display:none!important
}

My website is: http://thebretongroup.com/test_area/NYD/

Thanks,
Melissa

Post count: 22421

Hi Melissa,
If you want to remove them from other pages, you will need the page id which you can get from here: http://screencast.com/t/vZmVj80WF
Then you can use the id inside a class like so:
.page-id-387 .comments{
display:none!important
}

Thanks.

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