Forum Discussion
Adding a description to the sharepoint list
- May 30, 2023
SebastianSzyroki You can use SharePoint JSON form formatting: Configure layout > Header option to add text on top of list form.
Example:
{ "elmType": "div", "attributes": { "class": "ms-fontColor-themePrimary" }, "txtContent": "This is a test sample list description on list form" }
Output:
You can adjust the JSON and CSS styling as per your requirements.
Documentation: Configure the list form - custom header - follow steps given here to add JSON to list form
Check few form JSON samples available here for JSON styling inspiration: Form Formatting samples for SharePoint and Microsoft Lists
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Adding a Description Field
Go to the SharePoint site where your list is located.
Navigate to the specific list for which you want to add a description.
Click on the "List" tab in the ribbon at the top of the page.
Select "List Settings" from the Settings dropdown menu.
Scroll down to the "Columns" section and click on "Add a column".
Choose the column type as "Single line of text" or "Multiple lines of text" based on your preference.
Give the column a name (e.g., "Description") and any other settings as desired.
Save the column and it will be added to the list. You can then enter the desired description in the column for each list item.
Using a Content Editor Web Part
Go to the SharePoint site and navigate to the page where you want to display the list.
Edit the page and click on the area where you want to add the header or description.
Select the "Insert" tab in the ribbon at the top of the page.
Choose the "Web Part" option and select the "Content Editor" web part.
Configure the web part by clicking on the dropdown arrow on the web part's top-right corner and selecting "Edit Web Part".
In the web part properties panel, you can enter the desired header or description in the "Content" field.
Save the changes to the page.
Both of these methods allow you to add a header or description to a SharePoint list. The first method adds a specific column to the list for descriptions, while the second method allows you to add a customized header or description using a Content Editor Web Part. Choose the method that best fits your requirements and SharePoint configuration.
- RobElliottMay 29, 2023Silver Contributor
Rahul-kumar that won't work with the modern experience as the Content Editor web part is not available.
Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)- SebastianSzyrokiMay 29, 2023Copper Contributorwell, the web part is not available and I care about the new environment ;/ Is there any other way?