SOLVED

Customize the width of column in share point

Brass Contributor

Hi

I would like to confirm if there is any way to customize the width of column in share point list that display by using Classic experience.

 

Not using Designer, it will be better if I could realize that by editing the JSON of column.

1 Reply
best response confirmed by Tiffany_Jo (Brass Contributor)
Solution

@Tiffany_Jo 

Solution:

  • Navigate to the Site >> Click on Site Settings gear >> Edit Page
  • Add Web Part >> Insert "Script Editor" Web Part
  • Edit Snippet and Insert the below Style in it.

    1
    2
    3
    4
    5
    6
    <style>
    .ms-vh-div[DisplayName='Project Description']
    {
        width : 700px !important;
    }
    </style>



1 best response

Accepted Solutions
best response confirmed by Tiffany_Jo (Brass Contributor)
Solution

@Tiffany_Jo 

Solution:

  • Navigate to the Site >> Click on Site Settings gear >> Edit Page
  • Add Web Part >> Insert "Script Editor" Web Part
  • Edit Snippet and Insert the below Style in it.

    1
    2
    3
    4
    5
    6
    <style>
    .ms-vh-div[DisplayName='Project Description']
    {
        width : 700px !important;
    }
    </style>



View solution in original post