Hide comment bubble if

Posted in: Newspaper
Post count: 83

Hi friends,
I find the solution for to hide all “comment” bubbles in every block and modules,
but is there a way (personal css?)
to show the comment bubble only if it is > zero?
In fact, some zeros are a little sad, but it is a pity to completely give up this possibility..
Thank you,
have a good week

Post count: 83

Nothing…?
I think it is very easy for your capacities..
It should certainly write a string like:
if xxx then xxx (hide) xxx
in customized css of blocks,
but I can’t do by my self…
please…

Post count: 23312

Hello MattiaVe,

If you want to remove the bubble comments from blocks/modules, notice there is an option for it in Theme panel, like this -> https://www.screencast.com/t/bOGEb1rU and for modules/blocks, you can turn it off from here -> https://www.screencast.com/t/M4fa8Z05XJzp

Thanks for the message!

Post count: 83

Ciao Catalin, you have a lot of work, I’m shure about that, so you read too quick…
🙂
the question is:
which is code in customized css for hide comment counter when = 0?
(for show it if > zero)
thank you

Post count: 23312

Hello MattiaVe,

If you want to achieve this, notice that you should edit the comment function. As a hint, you have to edit the td_module.php core file and make these changes, like this ->
https://www.screencast.com/t/HNJFLWCVk

Thanks for the message!

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