Hover text color on buttons

4 posts, 0 answers
  1. Clive Hoggar
    Clive Hoggar avatar
    334 posts
    Member since:
    Nov 2008

    Posted 26 Jun 2009 Link to this post

    Hi

    It seems like in the most recent release the mouseover text color of buttons
    decorated with the black skin is now green.  I need to have this a gold color to match
    the website livery.  How do I override this color in my CSS file?

    Thanks for your help

    Clive
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 29 Jun 2009 Link to this post

    Hi Clive,

    The RadFormDecorator control uses sprites for styling buttons, checkboxes and radiobuttons (apart from pure CSS). To change the hover color for the corresponging skin, you need to use a custom skin with edited sprites. More information on how to create a custom skin is available in the following help article:
    http://www.telerik.com/help/aspnet-ajax/radformdecorator-creating-custom-skins.html

    Greetings,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Clive Hoggar
    Clive Hoggar avatar
    334 posts
    Member since:
    Nov 2008

    Posted 29 Jun 2009 Link to this post

    Hi

    I checked out the article but I did not see any mention of the color of the button text,
    only how to change the sprite images themselves.

    I was hoping for a CSS override like you can do for the menu bar etc. EG something like 
    this in the main site CSS file:
     
    .radfd_Black .radfd_Buttons:hover {color:#A49261 !important;}  
     
     

    Is this not possible?

    Thanks

    Clive

     

     

     

     

  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 29 Jun 2009 Link to this post

    Hi again Clive,

    I apologize for the confusion - somehow I was under the impression that we are talking about the checkboxes. Indeed you could use only CSS if you wish to change the hover color of the buttons:

    a.RadForm_Black:hover .rfdInner 
        color#a49261 !important; 

    Once again, sorry for the misunderstanding.


    Best wishes,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top