Home > Uncategorized > Changing Color of Disabled Form Fields

Changing Color of Disabled Form Fields


Sometimes, you hit by a requirment of your client to change the disabled fields color in MSCRM forms/Entities. So here is an easy trick to do this. Go to CRM Web folder at CRM server, its usually located in wwwroot and open the file /_forms/controls/controls.css. Then search the following lines and just change the color from grey to the desired one.

INPUT.ro,TEXTAREA.ro,DIV.ro,SPAN.ro
{
background-color: #ffffff;
color:    #808080;
border-color:  #808080;
}

Similarly, you can change the look and feel of other controls by searching them in this file. But please, do remember that this is not a supported way of changing color. 

Advertisements
Categories: Uncategorized Tags:
  1. April 25, 2007 at 12:50 pm

    Thank You

  2. LDM
    February 20, 2008 at 10:18 am

    Hello.. I need some help about Changing the color of all the forms and tabs of the MSCRM 4.0 application, because my client request that he wants to put his logo and change the colors. I tried to change the controls.css.aspx file, located in wwwroot, but it changed just one frame in the Sales part.. Please if anybody knows something about it i will appreciate it..

  3. Mark Chaffee
    September 4, 2008 at 9:49 pm

    Which style sheet do I change the navigation pane header color in?

  4. Mark Chaffee
    September 11, 2008 at 3:17 pm

    Never mind. global.css worked great.

  5. Shaheel
    September 22, 2008 at 5:45 am

    Plz let me know if there is any possibility to control the disabled fields using css. This is for an application being developed in ASP.net

  6. October 7, 2008 at 1:44 pm

    Is there a way to edit the disabled money fields color? My Varchar fields are coming through in black, but my money fields are grey…

    Thanks for your help!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: