Product Field CSS Selectors

Product Field CSS Selectors

ContainerPrice LabelPriceQuantity Input

Container
example: product field container (div) – applies to all forms
1body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_singleproduct {border: 1px solid red;}
example: product field container (div) – applies just to form ID #1
1body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_singleproduct {border: 1px solid red;}
example: product field container (div) – applies just to specific container (based on the unique parent element ID – replace 「XX_X」 with your actual element ID)
1body #gform_wrapper_1 .gform_body .gform_fields #field_XX_X.gfield .ginput_container_singleproduct {border: 1px solid red;}
Price Label
example: product price label (span) – applies to all forms
1body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_singleproduct .ginput_product_price_label {color: red;}
example: product price label (span) – applies just to form ID #1
1body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_singleproduct .ginput_product_price_label {color: red;}
example: product price label (span) – applies just to specific container (based on the unique parent element ID – replace 「XX_X」 with your actual element ID)
1body #gform_wrapper_1 .gform_body .gform_fields #field_XX_X.gfield .ginput_container_singleproduct .ginput_product_price_label {color: red;}
Price
example: product price (span) – applies to all forms
1body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_singleproduct .ginput_product_price {color: red;}
example: product price (span) – applies just to form ID #1
1body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_singleproduct .ginput_product_price {color: red;}
example: product price (span) – applies just to specific container (based on the unique parent element ID – replace 「XX_X」 with your actual element ID)
1body #gform_wrapper_1 .gform_body .gform_fields #field_XX_X.gfield .ginput_container_singleproduct .ginput_product_price input {color: red;}
Quantity Input
example: product field quantity (input) – applies to all forms
1body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_singleproduct .ginput_quantity {border: 1px solid red;}
example: product field quantity (input) – applies just to form ID #1
1body #gform_wrapper_1 .gform_body .gform_fields .gfield .ginput_container_singleproduct .ginput_quantity {border: 1px solid red;}
example: product field quantity (input) – applies just to specific container (based on the unique parent element ID – replace 「XX_X」 with your actual element ID)
1body #gform_wrapper_1 .gform_body .gform_fields #field_XX_X.gfield .ginput_container_singleproduct .ginput_quantity {border: 1px solid red;}

發表回覆

您的電子郵箱地址不會被公開。 必填項已用 * 標註