Quantcast
Channel: CSS Selectors Archives - Gravity Forms Documentation
Viewing all articles
Browse latest Browse all 35

Option Field

$
0
0

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;}

The post Option Field appeared first on Gravity Forms Documentation.


Viewing all articles
Browse latest Browse all 35

Trending Articles