• Resolved footwearsale

    (@footwearsale)


    Hi,

    in my woocommerce product pages appears an “OR” between the quantity and add to cart buttons.
    How can I remove it?

    <div id=”wc-stripe-payment-request-wrapper” style=”clear:both;padding-top:1.5em;”>
    <p id=”wc-stripe-payment-request-button-separator” style=”margin-top: 1.5em; text-align: center;”>— OR —

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @footwearsale,

    You could use CSS to hide elements from a site.

    .wc-stripe-payment-request-button-separator {
        display: none !important!
    }

    To achieve this type of customization we recommend using Google Chrome Developer Tools. You can right-click anywhere on your webpage to select ‘Inspect Element’, the HTML and CSS properties show up right in your browser.

    I hope this helps.

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hey @footwearsale

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    As another option – if you haven’t moved the Payment Request button then adding this custom code will work:

    remove_action( 'woocommerce_after_add_to_cart_quantity', array( WC_Stripe_Payment_Request::instance(), 'display_payment_request_button_separator_html' ), 2 );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove stripe separator’ is closed to new replies.