Radcombobox css Item Hover Font

2 posts, 0 answers
  1. Swapnil
    Swapnil avatar
    96 posts
    Member since:
    Aug 2013

    Posted 14 Nov 2014 Link to this post

    Hi,
    i am using radcombobox and applying css to  it. it will get font but on item hover it will go back to original font for that single item.i want all in same font.

    <telerik:RadComboBox ID="ComboFY" runat="server"  EmptyMessage="Please "  CssClass="rcbItem"></telerik:RadComboBox>

     .rcbItem, . rcbItem . rcbFocused, . rcbItem . rcbHovered
        {
            font-family: Verdana !important;
            font-size:12px;
        }
  2. Magdalena
    Admin
    Magdalena avatar
    421 posts

    Posted 17 Nov 2014 Link to this post

    Hi,

    By hovering and focusing items, the class .rcbItem is replaced by .rcbHovered and .rcbFocused classes.
    Because of following the rule of good practies - avoiding using an !important, we recommend you to apply the following selectors:
    html .RadComboBoxDropDown .rcbItem,
    html .RadComboBoxDropDown .rcbFocused,
    html .RadComboBoxDropDown .rcbHovered {
        font-family: Verdana;
        font-size: 12px;
    }


    Regards,
    Magdalena
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top