Being able to change colour of a certain section in SharePoint List

Harry N Nomikos 1,336 Reputation points
2023-03-15T01:10:59.8233333+00:00

Hi Team

I've got a SharePoint list that has been broken down into multiple sections and I'm trying to see if it's possible to only change a certain section of the form to be red while leaving the remaining sections as they are.

I want to change the 2nd section of the form, so the boarders of the fields and heading of "Initiative Description & Notes" to be in red - if that's possible?

I don't have access to power-apps or power-shell, so I'm relying on JSON coding or somewhere in the list settings where this can be changed.

User's image

Regards,

Harry

Microsoft 365 and Office | SharePoint Server | For business
0 comments No comments
{count} votes

Accepted answer
  1. Xyza Xue_MSFT 30,176 Reputation points Microsoft External Staff
    2023-03-15T02:28:23.32+00:00

    Hi @Harry N Nomikos ,

    Unfortunately, it is not possible to change the border color of the SharePoint list section using JSON formatting. Body sections configuration does not support advance JSON customizations.

    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.

    Reference:Configure custom body with one or more sections

    Here's a similar thread, check it out: Add background-color or any css to "Section" in List Form in SharePoint Online using JSON formatting


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.