Highlight specific column headers in a SharePoint list


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”

  1. This work for me but only in my DisplayView Is there Any way we can do the same during im editing de list

    1. 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.

  2. Hi Nate,

    Is there any way we can color complete header row with yellow instead of just column header?
    Thank you,

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.