manage font sizes in sharepoint lists

Brett Dryland 20 Reputation points
2024-03-07T02:11:48.2133333+00:00

I want to change the font size for individual columns in a SharePoint list.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,300 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Du-MSFT 44,311 Reputation points Microsoft Vendor
    2024-03-07T06:43:49.2166667+00:00

    You could use JSON to change the font size for individual column.

    Click the column -> Column settings -> Format the column -> Use following codes.

    1

    {
     "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
    "elmType": "a",
    "txtContent": "@currentField",
    "style": {
    "font-size": "13pt"
     }
    }
    

    Result:

    User's image


    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful