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.
Unfortunately, activation email could not send to your email. Please try again.

Font-size in ejDropdowlist

Thread ID:

Created:

Updated:

Platform:

Replies:

131583 Jul 18,2017 03:19 AM Jul 19,2017 08:26 AM Angular 1
loading
Tags: ejDropDownList
Agne
Asked On July 18, 2017 03:19 AM

Hello,

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?



Keerthana Rajendran [Syncfusion]
Replied On July 19, 2017 08:26 AM

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  
 
$('#bikeList').ejDropDownList({ 
                dataSource: BikeList, 
                fields: { id: "empid", text: "text", value: "text" }, 
              cssClass:"custom", 
              width:"300px" 
            }); 
.custom li 
      { 
        font-size:18px; 
        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 
 
 
 
Regards, 
Keerthana. 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;