1

I have a list in SharePoint 2013 and I am using CSS to style the column headers. I have the column headers color coded so I'm using CSS to change the background color of the headers and the font color of the text in the headers.

When I open the list in Quick Edit view, I lose the styles I applied to my column headers. Is there a way to change the background color and font color of the column headers in Quick Edit view?

1

Use developer tool to check the element class/attribute so you could limit custom CSS to elements.

Sample demo to custom header background color.

<style type="text/css">
    th[role="columnheader"] {
        background-color: azure !important;            
    }
    a[colaction="sort"]{            
        color: red !important;            
    }
</style>

enter image description here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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