Highlighting specific column headers can be useful in drawing attention to specific information areas to make sure they’re complete or just to aid users in seeing the most important info quickly.
You can insert this script in a Script Editor webpart or save it in a css file in your Site Assets and reference the link in a content editor web part on the list page (much more accessible and easy to edit later).
Simply replace “Column1” with the exact name of your column header. Repeat the script as many times as you wish for each column header you want to highlight. Remember to change the script if you change a column name. And if this yellow isn’t your thing, check out this color wheel to help pick a new color code to use in your script.
6 Replies to “Highlight specific column headers in a SharePoint list”
This work for me but only in my DisplayView Is there Any way we can do the same during im editing de list
When you’re viewing the list in “edit” mode, follow the same steps and see if that works. It may behave similarly to new/edit/display forms in that each one requires the same code to be applied separately as if different pages altogether.
Is there any way we can color complete header row with yellow instead of just column header?
Yes, you can color the entire row instead. I’ve written a post about how to accomplish that here: https://sharepointlibrarian.com/2018/07/20/customize-styles-formatting-of-sharepoint-list-column-header-rows/
Thank you, very much 🙂
Thank you, for the post