File Input ForeColor

Thread is closed for posting
4 posts, 0 answers
  1. Mark Davison
    Mark Davison avatar
    82 posts
    Member since:
    Jul 2005

    Posted 10 Jan 2008 Link to this post

    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
  2. Petya
    Admin
    Petya avatar
    869 posts

    Posted 10 Jan 2008 Link to this post

    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
  3. Mark Davison
    Mark Davison avatar
    82 posts
    Member since:
    Jul 2005

    Posted 10 Jan 2008 Link to this post

    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
  4. George
    Admin
    George avatar
    298 posts

    Posted 11 Jan 2008 Link to this post

    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
Back to Top