Multi Select Field CSS Selectors

Multi Select Field CSS Selectors

ContainerFieldItems

Container
example: standard multi select container (div) – applies to all forms
body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_multiselect {border: 1px solid red}
example: standard multi select container (div) – applies just to form ID #1
body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_multiselect {border: 1px solid red}
example: standard multi select container (div) – applies just to specific multi select inputs (based on the unique parent element ID – replace 「XX_X」 with your actual element ID)
body .gform_wrapper .gform_body .gform_fields #field_XX_X.gfield .ginput_container_multiselect {border: 1px solid red}
Field

If you』ve enabled the Enhanced UI option, you will need to target 「chosen-container」 rather than 「select」 in the selectors below.
example: standard multi select field (select) – applies to all forms
body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_multiselect select {border: 1px solid red}
example: standard multi select field (select) – applies just to form ID #1
body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_multiselect select {border: 1px solid red}
example: standard multi select field (select) – applies just to specific multi select inputs (based on the unique parent element ID – replace 「XX_X」 with your actual element ID)
body .gform_wrapper .gform_body .gform_fields #field_XX_X.gfield .ginput_container_multiselect select {border: 1px solid red}
Items
example: standard multi select item (option) – applies to all forms
body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_multiselect select option {border: 1px solid red}
example: standard multi select item (option) – applies just to form ID #1
body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_multiselect select option {border: 1px solid red}
example: standard multi select item (option) – applies just to specific multi select inputs (based on the unique parent element ID – replace 「XX_X」 with your actual element ID)
body .gform_wrapper .gform_body .gform_fields #field_XX_X.gfield .ginput_container_multiselect select option {border: 1px solid red}

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注