want to remove paypal icon from category pages: enter image description here

2 Answers 2


You need to check which paypal method is enabled:

 Go to Stores -> configuration -> sales -> Payment Methods 
  -> Other paypal payment solutions -> Website Payments Pro Hosted Solution
  -> Basic Settings - PayPal Website Payments Pro Hosted Solution
  -> Adwance Settings -> Fronted Experience Settings.

Here select No Logo enter image description here

  • 1
    Its working perfectly. Feb 7, 2019 at 6:55
  • It works very good on 2.3.1
    – arno
    Jun 14, 2019 at 14:39
  • Or via CLI: bin/magento config:set paypal/style/logo ''
    – schnere
    May 20, 2022 at 9:37

You need to create a file in your theme directory like following


And add the following code in the catalog_category_view.xml file.

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="paypal.partner.right.logo" remove="true"/>

Save the file and clear cache, Hope it will work for you.

  • why you need to add this configuration if Magento provide you settings in admin ? your approach is not good. Feb 7, 2019 at 6:52
  • @HassanAliShahzad because the solution from accepted answer will remove logo all over e.g. checkout page and the question is to remove logo from category page. This is the perfect answer Mar 10, 2021 at 4:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.