China Payments Plugin Documentation
Main SiteDemoPricingGet support
EN (English)
EN (English)
  • Welcome 👋
  • Getting Started
    • Quick Setup
    • Activating Payment Methods
  • Checkout Flows
    • WooCommerce
    • MemberPress
    • Simple Membership Plugin
    • LifterLMS
    • Payment Page (payment form)
  • Payment Gateways
    • Stripe
    • Planned Payment Gateways
  • Payment Methods
    • WeChat Pay
      • WeChat Pay User Experience
    • Alipay
      • Alipay User Experience
    • Credit Cards
  • Currencies
    • Supported Currencies
    • Currency Conversion API
  • Common Error Messages
    • Common WeChat Pay Error Messages
    • Common Alipay Error Messages
    • Other Errors + Plugin Conflicts
  • Troubleshooting
    • Troubleshooting Steps
    • Why are payments for WeChat Pay and Alipay getting refunded?
    • How do I add Gaucho Plugins Support to my Stripe Team?
    • Why isn't Stripe Connect working?
    • Why are payments failing in Stripe?
    • WooCommerce Order Completion
  • FAQs
    • How do I set up Stripe Webhooks?
    • Why can't I activate Alipay or WeChat Pay in my Stripe account?
    • How do WeChat Pay and Alipay work?
    • What is China Payments Plugin?
    • How does China Payments Plugin Work?
    • How do I connect with Stripe Connect?
    • How do I upgrade to the PRO or Business plans?
    • How do I set up a payment confirmation page?
    • How long are WeChat Pay QR codes valid?
    • What's the total cost of using China Payments Plugin?
    • How do I remove all plugin data on uninstallation?
    • How do I join the BETA?
    • How do I override the icons used in checkout?
  • Changelog
    • Changelog
Powered by GitBook
On this page
  1. FAQs

How do I override the icons used in checkout?

This page explains how to modify the icons used in the checkout.

PreviousHow do I join the BETA?NextChangelog

Last updated 6 months ago

For any of the customizations below, download a plugin like , and add a Custom CSS snippet.

WooCommerce Alipay Icon

/* Override Alipay Icon */
.wc_payment_methods.payment_methods .wc_payment_method.payment_method_china_payments_stripe_alipay label > img {
    /* Update the url below with the location of your custom icon */
    content: url('https://your-domain.com/wp-content/uploads/custom-alipay-icon.svg') !important; 
    width: 100px; /* Set the width of the icon as needed */
    height: auto; /* Maintain aspect ratio */
}

WooCommerce WeChat Pay Icon

/* Override WeChat Pay Icon */
.wc_payment_methods.payment_methods .wc_payment_method.payment_method_china_payments_stripe_wechat label > img {
    /* Update the url below with the location of your custom icon */
    content: url('https://your-domain.com/wp-content/uploads/custom-wechat-pay-icon.svg') !important; /* URL to the new icon */
    width: 100px; /* Set the width of the icon as needed */
    height: auto; /* Maintain aspect ratio */
}

Simple Custom CSS and JS