This is a migrated thread and some comments may be shown as answers.

File Input ForeColor

3 Answers 68 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Mark Davison
Top achievements
Rank 1
Mark Davison asked on 10 Jan 2008, 10:18 AM
Hi,

Can anyone tell me how to change the text color in the fileinput to be black? I have tried ForeColor="black" and style="color:black;" without success! I am using the Web20 embedded skin but I need to override the default (silver?) color used in the input.

Regards,

Mark

3 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 10 Jan 2008, 10:37 AM
Hi Mark Davison,

To achieve the desired appearance you need to:
  1. Follow the instructions in this help article how to setup your project so that you can modify an existing skin
  2. Locate the Skins/Web20/Upload.Web20.css file and modify the .ruFakeInput class to have a different background
Let us know if you have any problems with this.

All the best,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mark Davison
Top achievements
Rank 1
answered on 10 Jan 2008, 12:47 PM
Hi Petya,

I have followed all the steps listed but I cannot change the text color used in the text boxes. I have set them be be read only and I can change the background color which demonstrates that I have got everything correct.

Can you tell me how to change the text color of the ruFakeInputs? I have tried color:black; but it does not make any difference.

Regards,

Mark
0
George
Telerik team
answered on 11 Jan 2008, 11:31 AM
Hi Mark Davison,

You should override the applied CSS style using !important. I have prepared sample project demonstrating this scenario, see in the attached file.

Please note that the CSS class that changes the ForeColor is named ruFakeInput and is placed in RadUpload.css. If any more questions arise, do not hesitate to ask.

All the best,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Upload (Obsolete)
Asked by
Mark Davison
Top achievements
Rank 1
Answers by
Petya
Telerik team
Mark Davison
Top achievements
Rank 1
George
Telerik team
Share this question
or