How to Change the Font size of only the "Column Name" in Sharepoint List settings

gokhan tastekin 1 Reputation point
2022-02-21T08:57:40.547+00:00

I would need to make the font size of "Column Name" bigger than the text or multiple choice criteria font size. I have not been able to identify how to do the change in Microsoft 365 Sharepoint list settings.

I am attaching the snapshots of how the "column name" appears on display mode smaller in font size compared to the Text it represents. The column Name is defined at the list settings edit.

176383-sp-column-name-fontsize-change1.jpg176307-sp-column-name-fontsize-change2.jpg176384-sp-column-name-fontsize-change3.jpg

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,466 Reputation points
    2022-02-22T03:17:22.513+00:00

    Hi @gokhan tastekin ,

    There is no OOTB way to change the font size of column header. In list settings we can change font size of item by JSON formatting. But to change the font size of column header you have to inject custom CSS code using SPFx Application Extensions as a workaround.

    CSS code be like:

    .ms-DetailsList-headerWrapper .ms-DetailsHeader-cell{  
    	font-size:18px !important;  
    }   
    

    For Reference: Column Header Size


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.