Hide Comments and Rating on specific knowledge Portal

sadif_raja
Tera Guru

Can anyone help to find the solution: Hide Comments and Rating on specific knowledge Portal.
Tried to do by the following ways, but it didn't work:

1. Knowledge Management Widget

2. System Properties

3. Roles

6 REPLIES 6

Thanks, but it's not available publicly. Here is the screenshot for your review: 

sadif_raja_0-1728048176559.png

 

This is what we are using to block the ratings section on one of our sites and the class is the same as yours. Perhaps give it a shot:

 

 

.kb-container-column .author, .kb-container-column .kb-title-header, .kb-container-column .kb-panel-heading, .kb-container-column .published, .kb-container-column .views, .kb-container-column .text-nowrap.ng-scope, .kb-container-column .kb-header-line, .kb-container-column .kb-line, .kb-container-column .kb-permalink-separator, .kb-container-column .kb-permalink, .kb-container-column .rating-section, .kb-container-column .help-use-text {
	display: none;
}

 

 

You could also try this (if you're not familiar with CSS, the !important is a way to say "Don't apply other styles, just this one"). It feels a little hacky and many consider it poor practice (they would say that the CSS is poorly created if you need it) but it's common to see in the platform because we have styles forced upon us. 

 

.kb-container-column .author, .kb-container-column .kb-title-header, .kb-container-column .kb-panel-heading, .kb-container-column .published, .kb-container-column .views, .kb-container-column .text-nowrap.ng-scope, .kb-container-column .kb-header-line, .kb-container-column .kb-line, .kb-container-column .kb-permalink-separator, .kb-container-column .kb-permalink, .kb-container-column .rating-section, .kb-container-column .help-use-text {
	display: none !important;
}

 

 

I would have thought you could simply do this:

.rating-section {
	display: none !important;
}

 

I would also put this at the page level myself for simplicity.