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

Change Font size and size of the checkbox in the Listbox

Thread ID:





144529 May 10,2019 06:45 AM UTC May 14,2019 06:49 AM UTC ASP.NET MVC - EJ 2 3
Tags: ListBox
Peter Rosenstein
Asked On May 10, 2019 06:45 AM UTC

i am new to ej2 for .net mvc.
How can i change the font size and checkbox size in the Listbox ?
with best regards

Christopher Issac Sunder K [Syncfusion]
Replied On May 13, 2019 10:21 AM UTC

Hi Peter, 
Thank you for contacting Syncfusion support. 
We have checked your reported requirement “To change the font size and checkbox size in listbox”. And we would like to let you know that your requirement can be achievable in EJ2 ListBox as like in the below code example. 
Code Example: 
 /*for list customization*/ 
 .e-css.e-checkbox-wrapper .e-frame{ 
   line-height: 11px; 
 /*for checkbox customization*/ 
For your convenience, we have prepared the sample based on your requirement. Please find the link below. 
Could you please check the above sample and get back to us, if you need any further assistance on this. 


Peter Rosenstein
Replied On May 13, 2019 07:48 PM UTC

thank you for your reply, no i have an idee about the css use in ej2.

i modified you suggestion a little bit:

.e-css.e-checkbox-wrapper .e-frame {
.e-listbox-wrapper:not(.e-list-template) .e-list-item,
.e-listbox-wrapper .e-selectall-parent {
    padding0 10px;

Prince Oliver [Syncfusion]
Replied On May 14, 2019 06:49 AM UTC

Hi Peter, 

Most welcome. We are glad that the issue is resolved in your end. 



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon