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?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
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.
Reference sample: Custom Header