Viewing 4 replies - 1 through 4 (of 4 total)
  • you have whitespace problem, just delete inside your text at the end

    Thread Starter freddyee

    (@freddyee)

    Well, I inspected the text on the button and appears like “Comprar ahora “, but the code I use is

    add_filter( 'woocommerce_product_single_add_to_cart_text', 'cw_btntext_cart' );
    add_filter( 'woocommerce_product_add_to_cart_text', 'cw_btntext_cart' );
    function cw_btntext_cart() {
        return __( 'Comprar ahora', 'woocommerce' );
    }

    So I don’t know why that whitespace appears

    • This reply was modified 3 years, 7 months ago by freddyee.
    • This reply was modified 3 years, 7 months ago by freddyee.
    Thread Starter freddyee

    (@freddyee)

    solved it using

    .kadence-svg-iconset {
        display: inherit;
    }
    hannah

    (@hannahritner)

    Hey,
    Glad you were able to solve this! Let us know if there’s anything else we can help you with.

    Best,
    Hannah

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘text buttons not centered’ is closed to new replies.