JSON formatting of SharePoint Online Form

Mark Tinsley 21 Reputation points
2021-08-26T06:43:02.06+00:00

Looking to alter the Font color for the Placeholder text in a SharePoint forms.

<div class="ReactFieldEditor-placeHolder">Enter value here</div>

I would like the place holder text to be #c2c2c2.

.ReactFieldEditor .ReactFieldEditor-placeHolder {
color: #c2c2c2;
font-size: 14px;
font-weight: 400;
}

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,819 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,706 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 32,081 Reputation points Microsoft Vendor
    2021-08-27T01:28:25.587+00:00

    Hi @Mark Tinsley ,
    We can add the style, given below to Content Editor Web Part to achieve the place holder text to be #c2c2c2.

     <style>    
     .ReactFieldEditor-placeHolder {    
     color: #c2c2c2;  
    font-size: 14px;  
    font-weight: 400;  
     }    
     </style>    
    

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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 comments No comments