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

Radcombobox css Item Hover Font

1 Answer 143 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Swapnil
Top achievements
Rank 1
Swapnil asked on 14 Nov 2014, 08:16 AM
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;
    }

1 Answer, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 17 Nov 2014, 12:08 PM
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.

 
Tags
ComboBox
Asked by
Swapnil
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Share this question
or