# This is post #6 of 31 in the challenge “Mastering WooCommerce

If you have noticed WooCommerce used large Paypal icon at the Payment section in checkout page since previous updates, then maybe you would like to change that image or remove that.

Refer the screenshot below:

WooCommerce Default Paypal Icon

WooCommerce Default Paypal Icon

So if you would like to change this icon or remove that, do follow below methods.

Option 1 : Change to Custom Image/Icon

You just need to put above code into your active theme functions.php, at the end of file.

function tt_custom_paypal_icon($iconUrl) {
return 'https://www.paypalobjects.com/webstatic/en_MY/mktg/logos/pp_cc_mark_37x23.jpg'; // change this to your image url or uploaded WordPress image url.
}

add_filter('woocommerce_paypal_icon', 'tt_custom_paypal_icon');

So the result will be:

Custom Paypal Icon

Custom Paypal Icon

 

Option 2 : Remove large paypal icon and the link ‘What is Paypal?’

Add below code into your active theme custom.css:

li.payment_method_paypal img, a.about_paypal {
  display: none !important;
}

And the result will be:

Remove Paypal Icon at WooCommerce Checkout Page

Remove Paypal Icon at WooCommerce Checkout Page