Change color of checkbox & width of dropdown menu

Hi,

I would like to format the dropdown menu and I was trying to edit the color of the checkbox when it’s filled with the following in CSS file:

.handsontable .htCheckboxRendererInput {
background-color: #18423b;
}

Unfortunately, this didn’t do anything. Also I would like to find out how the width of the dropdown menu could be changed?

Thanks!

Hi @roxana.tugulea

Checkboxes are styled by the browser. Here’s a good article on that Pure CSS Custom Checkbox Style | Modern CSS Solutions

We do not add any additional styling for this element other than simple alignment within the TD element

00

Thanks for the tip! Managed to do it. :slight_smile:

Great! I’m happy to hear that. I will close the thread. But feel free to open a new one when needed.