I have a Modern SP list, and the client wants the column headers to be highlighted in yellow, or have a fill color of yellow.

Does anyone know of the JSON I could use to accomplish this?


1 Answer 1


Unfortunately, it is not possible using SharePoint JSON formatting. This is a known limitation of JSON formatting in SharePoint.

You cannot only format the column headers using JSON formatting in SharePoint online.

Documentation: Use view formatting to customize SharePoint

You have to format the list view from scratch and build custom headers using JSON. But, it will remove all SharePoint OOTB functionalities.

enter image description here

Reference sample: Custom Header


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.