Option Field CSS Selectors

Option Field CSS Selectors

ContainerDrop DownItems

Container
example: option field container (div) – applies to all forms
body .gform_wrapper .gform_body .gform_fields .gfield_price .ginput_container_select {border: 1px solid red;}
example: option field container (div) – applies just to form ID #1
body .gform_wrapper_1 .gform_body .gform_fields .gfield_price ginput_container_select {border: 1px solid red;}
example: option field container (div) – applies just to specific container (based on the unique parent element ID – replace 「XX_X」 with your actual element ID)
body .gform_wrapper_1 .gform_body .gform_fields #field_XX_X.gfield_price ginput_container_select {border: 1px solid red;}
Drop Down
example: option field drop down (select) – applies to all forms
body .gform_wrapper .gform_body .gform_fields .gfield_price .ginput_container_select select {border: 1px solid red;}
example: option field drop down (select) – applies just to form ID #1
body .gform_wrapper_1 .gform_body .gform_fields .gfield_price .ginput_container_select select {border: 1px solid red;}
example: option field drop down (select) – applies just to specific container (based on the unique parent element ID – replace 「XX_X」 with your actual element ID)
body .gform_wrapper_1 .gform_body .gform_fields #field_XX_X.gfield_price .ginput_container_select select {border: 1px solid red;}
Items
example: option field items (option) – applies to all forms
body .gform_wrapper .gform_body .gform_fields .gfield_price .ginput_container_select select option {border: 1px solid red;}
example: option field items (option) – applies just to form ID #1
body .gform_wrapper_1 .gform_body .gform_fields .gfield_price .ginput_container_select select option {border: 1px solid red;}
example: option field items (option) – applies just to specific container (based on the unique parent element ID – replace 「XX_X」 with your actual element ID)
body .gform_wrapper_1 .gform_body .gform_fields #field_XX_X.gfield_price .ginput_container_select select option {border: 1px solid red;}

发表回复

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