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?
5 Replies
- ellan1537Iron 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>- RobElliottSilver 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_KStillBrass ContributorIs it possible to do this with JSON?
- TonieBCopper ContributorI have the same question.