The font of column headers of the SharePoint 2013 List/Library is too small. Can we increase the size without writing code (changes the css classes)? enter image description here

  • Edit your view page.
  • Add Script Editor.
  • Add the following Style .
.ms-vh2 {
font-size: 20pt ! important; }
.ms-vh {
font-size: 20pt ! important; }

enter image description here

To apply this for all lists within the site.

  • Create a CSS file
  • add the above style.
  • upload CSS file to your style library in sharePoint site.
  • If you are using a publishing site go to Site Settings > Master Page > at alternate CSS URL > Browse to your CSS file.

enter image description here


You can use below style to override the font size

.ms-vh {
    font-size: 14pt;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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