Forum Discussion
spinman
May 03, 2019Copper Contributor
Sharepoint Online List (Word Wrap Header)
I have a SPO list with some field headings that are long. Is there a way to force word wrapping only on the header?
ellan1537
May 07, 2019Iron Contributor
Edit the page, insert the script editor and then paste the below script. I just tested and its working fine.
<style type= "text/css">
.ms-vh, .ms-vh2-nofilter, .ms-vh2-nograd, .ms-vh2, .ms-vb
{white-space: normal}
</style>
- PeterM2uOct 04, 2021Copper Contributorspinman Does this ficx work for all viewers or just the individual who has made the changes you suggest?
- RobElliottOct 04, 2021Silver Contributor
PeterM2u the solution posted by ellan1537 would work for all users. But be aware this only works if you have a classic site or an older version of SharePoint. It doesn't work for the modern experience as there is no script editor.
Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)
- WC_KStillAug 14, 2020Brass ContributorIs it possible to do this with JSON?
- TonieBSep 16, 2021Copper ContributorI have the same question.