captaincrank on "[Plugin: WooCommerce] Simplify Commerce Credit Card Images Huge!"

ساخت وبلاگ

captaincrank
Member
Posted 6 hours ago #

Does anyone know how to shrink the size of the credit card icons produced by Simplify commerce? 750px × 471px (scaled to 589px × 370px) is massive and drives down the credit card field so much I have to scroll about three full pages.

https://wordpress.org/plugins/woocommerce/

Usually they are scaled to 32px height in the CSS. Is your theme perhaps missing some rules?

captaincrank
Member
Posted 10 minutes ago #

Thanks for the reply. I'm not sure what you mean about missing some rules. In status Woocommerce tells me my theme is supported and there are no overrides. I see the width reference in the code (see below), but that's definitely not what is displaying. I checked in multiple browsers as well.

/wp-content/plugins/woocommerce/assets/images/icons/credit-cards/visa.svg" alt="Visa" width="32" />

Is there a file I can hack to remove these large images or perhaps reference the cards.png image that is in the simplify commerce gateway plugin under the assets folder?

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 213 تاريخ : چهارشنبه 2 تير 1395 ساعت: 17:29