Support » Plugin: Checkout Field Editor (Checkout Manager) for WooCommerce » Class entries not working to style css for certain fields

  • Resolved clarke2131

    (@clarke2131)


    Class entries do not work for default woocommerce City and Postcode fields, causing my CSS to not apply to those fields. But it works for other fields. For example, the class shown in html for first name and last name field elements are:

    <p class="form-row form-row-first thwcfd-field-wrapper thwcfd-field-text validate-required" id="billing_first_name_field" data-priority="10"><label for="billing_first_name" class="">First name&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="billing_first_name" id="billing_first_name" placeholder="" value="FN" autocomplete="given-name"></span></p>

    however for postcode and city fields they have an extra field:

    data-o_class="form-row form-row-first thwcfd-field-wrapper thwcfd-field-text validate-required validate-postcode"

    where the entire element shows

    <p class="form-row thwcfd-field-wrapper thwcfd-field-text validate-required validate-postcode form-row-wide address-field" id="billing_postcode_field" data-priority="40" data-o_class="form-row form-row-first thwcfd-field-wrapper thwcfd-field-text validate-required validate-postcode"><label for="billing_postcode" class="">Postcode&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="billing_postcode" id="billing_postcode" placeholder="" value="47500" autocomplete="postal-code"></span></p>

    Same problem as described by this user here.

    You guys might want to check this out. https://wordpress.org/support/topic/unable-to-change-woocommerce-checkout-field-class/

    • This topic was modified 4 months, 3 weeks ago by clarke2131.
    • This topic was modified 4 months, 3 weeks ago by clarke2131.
    • This topic was modified 4 months, 3 weeks ago by clarke2131. Reason: formatting
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.