Forum Discussion
Change fonts on a document library view SharePoint 2019
- Sep 29, 2022
Hello IainL-Betasoft
you can try to use Column Formatting for that in SP2019:
https://support.microsoft.com/en-us/office/column-formatting-1f927342-2bed-4745-b727-ff8b7ff96b22
Examples:
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting
Regards, Dave
IainL-Betasoft Use "view formatting" instead of "column formatting". Using view formatting you can change font color of multiple columns at a time instead of adding same JSON in all columns. It will also help in case new columns will be created in list in future.
You can use simple JSON like below:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"additionalRowClass": "ms-fontColor-black"
}
Documentation: view-list-formatting
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.