Email Field CSS Selectors

Container

example: email field container (div) – applies to all forms

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_email {border: 1px solid red;}

example: email field container (div) – applies just to form ID #1

body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_email {border: 1px solid red;}

example: email 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 .ginput_container_email {border: 1px solid red;}

Input

example: email field input (input) – applies to all forms

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_email input {border: 1px solid red;}

example: email field input (input) – applies just to form ID #1

body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_email input {border: 1px solid red;}

example: email field input (input) – 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 .ginput_container_email input {border: 1px solid red;}