question

NeddyFlanders-5787 avatar image
0 Votes"
NeddyFlanders-5787 asked EchoDu-MSFT commented

SharePoint 2016 List Header Word Wrap

Hello, I am able to Word Wrap all of a list's headers using CSS but I want to only wrap a single column's header. Does anybody know how to limit word wrap to just one column's header? Thanks.

sharepoint-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered EchoDu-MSFT commented

Hello @NeddyFlanders-5787 ,

You can use the following CSS code:

 <style>
 .ms-vh-div[DisplayName='column dispaly name?']
 {
     white-space: normal;
 }
 </style>

122965-css.png

123042-testa.png

Thanks,
Echo Du
===============================
If an Answer is helpful, please click "Accept Answer" and upvote it.
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.





css.png (40.5 KiB)
testa.png (11.4 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @NeddyFlanders-5787 ,

Is there anything else I can help with regarding this issue?
You can comment us at any time and we will continue to follow up.

Thanks,
Echo Du


0 Votes 0 ·