Address Field CSS Selectors

Address Line 1

Container

example: address – address line 1 container (div) – applies to all forms

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

example: address – address line 1 container (div) – applies just to form ID #1

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

example: address – address line 1 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 .address_line_1 {border: 1px solid red;}

Input

example: address – address line 1 field (input) – applies to all forms

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

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

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

example: address – address line 1 field (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 .address_line_1 input {border: 1px solid red;}

Label

example: address – address line 1 sub-label (label) – applies to all forms

body .gform_wrapper .gform_body .gform_fields .gfield .address_line_1 label {color: red;}

example: address – address line 1 sub-label (label) – applies just to form ID #1

body .gform_wrapper_1 .gform_body .gform_fields .gfield .address_line_1 label {color: red;}

example: address – address line 1 sub-label (label) – 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 .address_line_1 label {color: red;}

Address Line 2

Container

example: address – address line 2 container (div) – applies to all forms

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

example: address – address line 2 container (div) – applies just to form ID #1

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

example: address – address line 2 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 .address_line_2 {border: 1px solid red;}

Input

example: address – address line 2 field (input) – applies to all forms

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

example: address – address line 2 field (input) – applies just to form ID #1

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

example: address – address line 2 field (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 .address_line_2 input {border: 1px solid red;}

Label

example: address – address line 2 sub-label (label) – applies to all forms

body .gform_wrapper .gform_body .gform_fields .gfield .address_line_2 label {color: red;}

example: address – address line 2 sub-label (label) – applies just to form ID #1

body .gform_wrapper_1 .gform_body .gform_fields .gfield .address_line_2 label {color: red;}

example: address – address line 2 sub-label (label) – 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 .address_line_2 label {color: red;}

City

Container

example: address – city container (div) – applies to all forms

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

example: address – city container (div) – applies just to form ID #1

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

example: address – city 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 .address_city {border: 1px solid red;}

Input

example: address – city field (input) – applies to all forms

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

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

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

example: address – city field (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 .address_city input {border: 1px solid red;}

Label

example: address – city sub-label (label) – applies to all forms

body .gform_wrapper .gform_body .gform_fields .gfield .address_city label {color: red;}

example: address – city sub-label (label) – applies just to form ID #1

body .gform_wrapper_1 .gform_body .gform_fields .gfield .address_city label {color: red;}

example: address – city sub-label (label) – 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 .address_city label {color: red;}

State

Container

example: address – state container (div) – applies to all forms

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

example: address – state container (div) – applies just to form ID #1

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

example: address – state 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 .address_state {border: 1px solid red;}

Input

example: address – state field (input) – applies to all forms

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

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

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

example: address – state field (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 .address_state input {border: 1px solid red;}

Label

example: address – state sub-label (label) – applies to all forms

body .gform_wrapper .gform_body .gform_fields .gfield .address_state label {color: red;}

example: address – state sub-label (label) – applies just to form ID #1

body .gform_wrapper_1 .gform_body .gform_fields .gfield .address_state label {color: red;}

example: address – state sub-label (label) – 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 .address_state label {color: red;}

Zip Code

Container

example: address – zip container (div) – applies to all forms

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

example: address – zip container (div) – applies just to form ID #1

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

example: address – zip 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 .address_zip {border: 1px solid red;}

Input

example: address – zip field (input) – applies to all forms

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

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

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

example: address – zip field (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 .address_zip input {border: 1px solid red;}

Label

example: address – zip sub-label (label) – applies to all forms

body .gform_wrapper .gform_body .gform_fields .gfield .address_zip label {color: red;}

example: address – zip sub-label (label) – applies just to form ID #1

body .gform_wrapper_1 .gform_body .gform_fields .gfield .address_zip label {color: red;}

example: address – zip sub-label (label) – 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 .address_zip label {color: red;}

Country

Container

example: address – country container (div) – applies to all forms

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

example: address – country container (div) – applies just to form ID #1

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

example: address – country 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 .address_country {border: 1px solid red;}

Input

example: address – country field (input) – applies to all forms

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

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

body .gform_wrapper_1 .gform_body .gform_fields .gfield .address_country select {border: 1px solid red;}

example: address – country field (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 .address_country select {border: 1px solid red;}

Label

example: address – country sub-label (label) – applies to all forms

body .gform_wrapper .gform_body .gform_fields .gfield .address_country label {color: red;}

example: address – country sub-label (label) – applies just to form ID #1

body .gform_wrapper_1 .gform_body .gform_fields .gfield .address_country label {color: red;}

example: address – country sub-label (label) – 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 .address_country label {color: red;}