I have formatted SharePoint online list form by using JSON. Now how can I set background color of whole selection or section heading like green or Red, for example Approval section background color should be Maroon.

enter image description here

  • Hi @SPDev, Does below response answer your question? If yes, Please Upvote(^) and accept as an Answer as it helped you & it will help others with similar question in future to find the correct answer easily. Commented Mar 27, 2023 at 9:39

1 Answer 1


Unfortunately, changing background color for section is not possible using JSON formatting capabilities.

Body configuration does not support advance JSON customizations like header/footer (or column/view formatting in list views).

Unlike the header and the footer, body configuration only allows defining one or more sections and adding one or more columns into each of those sections.

Source: Configure custom body with one or more sections

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.