How Do I Apply Custom CSS to a Select One Field in AgileForms?

Prerequisites

Symptoms

When applying custom CSS to highlight a Select One field (for example, changing the background color or text size of the list control), the changes doesn't take effect.

Cause

This issue is related to custom CSS in AgileForms. The custom CSS does not apply changes to the Select One control.

Resolution

Add the following code to the custom CSS to make it more specific for the <select> control.

Example:

select.Custom
     {
     font-size:x-small;
     background-color:Red;
     }