Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

[SOLUTION] Flat template: Hide post body since it is empty on content comment

2 years 4 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

Add to custom css:

.joms-stream__container .joms-stream[data-stream-type="service.comment.joomla.article.comments.1"] .joms-stream__body {
	display: none;
}
.joms-stream__container .joms-stream[data-stream-type="service.comment.joomla.article.comments.1"] .joms-stream__header {
	border: 0px;
}

2 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Vladimir,

Thank you for your sharing..

cheers!

2 years 3 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

Since format of data-stream-type is changing:

.joms-stream__container .joms-stream[data-stream-type^="service.comment.joomla.article.comments."] .joms-stream__body {
	display: none;
}
.joms-stream__container .joms-stream[data-stream-type^="service.comment.joomla.article.comments."] .joms-stream__header {
	border: 0px;
}

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW