Number Field CSS Selectors

Number Field CSS Selectors

ContainerInputRange Instructions

Container
example: number field container – applies to all forms (div)
1body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_number {border: 1px solid red}
example: number field container – applies just to form ID #1 (div)
1body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_number {border: 1px solid red}
example: number field container – applies just to specific container (based on the unique parent element ID – replace 「XX_X」 with your actual element ID) (div)
1body #gform_wrapper_1 .gform_body .gform_fields #field_XX_X.gfield .ginput_container_number {border: 1px solid red}
Input
example: number input – applies to all forms (input)
1body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_number input {color: red}
example: number field input – applies just to form ID #1 (input)
1body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_number input {color: red}
example: number field input – applies just to specific container (based on the unique parent element ID – replace 「XX_X」 with your actual element ID) (input)
1body #gform_wrapper_1 .gform_body .gform_fields #field_XX_X.gfield .ginput_container_number input {color: red}
Range Instructions
example: Instructions for range allowed – applies to all forms (input)
1body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_number div.instruction {color: red}
example: Instructions for range allowed – applies just to form ID #1 (input)
1body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_number div.instruction {color: red}
example: Instructions for range allowed – applies just to specific container (based on the unique parent element ID – replace 「XX_X」 with your actual element ID) (input)
1body #gform_wrapper_1 .gform_body .gform_fields #field_XX_X.gfield .ginput_container_number div.instruction {color: red}

发表回复

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