• Resolved patbone

    (@patbone)


    Hi,
    I have a problem in WooCommerce in the checkout page of my website with the Paypal logo, which is large and pixelated.

    I inserted a new logo via functions.php and style.css and the new logo is present when i’m on the checkout-page. But only for a second, it will be replaced with old png-File. The large png-File is located here https://thesoapcompany.ch/wp-content/plugins/woocommerce/includes/gateways/paypal/assets/images/paypal.png. It is not in the media library.

    I removed my costum code in functions.php and style.css because it’s not working.

    In WooCommerce Payments I can’t find anything under Activate PayPal status either.

    Unfortunately I’m running out of ideas and this looks really unprofessional on the website.

    https://thesoapcompany.ch
    WordPress-Version 6.4.2
    Aktives Theme: Porto Child (Version 1.1)
    Paypal-Standard Plugin
    PHP-Version 8.1.25

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Gerry

    (@metamezzo)

    Hello, the linked PayPal image you have provided is 51 x 32 so the following CSS might help:

    /* Reduce size of PayPal logo on Checkout page */
    .payment_methods .payment_method_paypal img {
      max-width: 51px;
    }

    The website seems to be using the Porto theme, so I am not sure if the above rule can be added as additional CSS. It might be best to get in touch with the Porto theme developers/community at:

    Porto theme docs – https://www.portotheme.com/wordpress/porto/documentation/

    Hope these help and good luck!

    Thread Starter patbone

    (@patbone)

    Hi Gerry,

    thanks for your reply.

    I tried this already with my costum logo and it worked, but the the problem is. My costum logo will be overwritten with this large logo and i cannot find it.

    its only possible the write code in function.php and style.css but it changes nothing at the big logo.

    I have to open a ticket at Porto-Support

    Thank you very much
    Patrick

    Thread Starter patbone

    (@patbone)

    Hah,

    it works!!! i add your code to style.css and it looks nice now ??

    Thank you very much, Gerry!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Paypal Logo will be replace by large and pixelated PNG-File’ is closed to new replies.