We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Font-size in ejDropdowlist


how can I change font size in ejDropdowlist? I want to do it in list and also in textbox. And also, how can I change spaces size between words in list?
Maybe it is possible to do it without using template property?

1 Reply

KR Keerthana Rajendran Syncfusion Team July 19, 2017 12:26 PM UTC

Hi Agne, 
Thank you for contacting Syncfusion support, 
We suggest you to use the cssClass property to make changes in font-size and line-spacing for list items. Please add the below styles in your sample  
                dataSource: BikeList, 
                fields: { id: "empid", text: "text", value: "text" }, 
.custom li 
        line-height:2.4 !important; 
      .custom .e-input 
        font-size:18px !important; 
We have prepared sample for reference. Please refer the below given link 
Also refer the below link to know details about Theme studio 

Live Chat Icon For mobile
Up arrow icon