function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Siobhan NordstromSiobhan Nordstrom 

How do I hide field titles in my knowledge articles. I do not want my community users to see all they field titles.

How do I hide these fields titles on my articles? I do not want our clients to see this information.

User-added image
SalesFORCE_enFORCErSalesFORCE_enFORCEr
Change the field label to something like this

<font color="white">FieldLabel</font>
Siobhan NordstromSiobhan Nordstrom
@shalabh_enFORCEr Not sure where to put that code. Your assistance would be appreciated.
SalesFORCE_enFORCErSalesFORCE_enFORCEr
Go to custom field and change the field label to <font color="white">FieldLabel</font>
Kuljit Jagpal 7Kuljit Jagpal 7
Changing the label name to include HTML tag does not work and displays the tag for me.  There is a suggestion to use VF article renderer in the following link.
https://success.salesforce.com/answers?id=90630000000gjOdAAI
Diane MichaelisDiane Michaelis
We accomplished this with CSS.

Adding this code to your css will globably hide all field labels:

.selfServiceArticleLayout .test-id__field-label{
display:none;
}

If you want to selectively hide field labels, you can use the nth child concept.

https://css-tricks.com/useful-nth-child-recipies/  (https://css-tricks.com/useful-nth-child-recipies/ )

When we did that, it looked like this:

.slds-form>.slds-grid:nth-child(-n+2) .slds-form-element__label{
    display:none;
}