Big etn logo in payment windows in woocommerce plugin


#1

I have lately updated electroneum payment gw plugin for wordpress, i realized that etn logo go too much bigger which is suppose to be small image. check the screenshot. how can i solve this?


#2

What version are you on?

Line 18 in electroneum-ips-library.php seems to be the path for the image.

$this->icon = ‘https://timg.electroneum.com/Pixel_Tracker?platform=etn’;

I can only assume updating your WP version has messed with it. I dont have it installed so cant check atm. Perhaps @benjaminoo or someone else can take a look.

In the meantime, perhaps comment out that line to see if it will just not show the icon (nothing rather than borken link ofc), or save a local (smaller) version of the logo on the server in a public accessible area and and point to that.


#3

I’m not a coder but etncommerce has a forum where you could ask for help with this https://etncommerce.com/forum/wordpress


#4

Dear Developer,

I have the exact same issue with very big ETN logo in checkout page.

Could you please kindly help wheather can I take away the logo or make it smaller?

Since I am not the coder so I have no ideas how to deal with it.

Thanks, Matt


#5

Hi All.

The logo being returned is now reduced to 40px (h) x 182px (w). Is this size more suitable for you?

Hopefully you can also control this with CSS should you need to.

Egg


#6

Hi Egg, It is a lot better now but still have a bit bigger than I expected.

Could you please kindly teach me where can I change the sizes in the plugin? Cause I really cant find how “40px (h) x 182px (w)” in the editor.

Many thanks, Matt


#7


#8

Another question is: If I wan to take away the logo, how do I change it in the script? Sorry too many question but I really want to compare the change in my website.

Many thanks ETN community!

Best Regards, Matt


#9

I would assume you can select it using CSS with label[for=payment_method_electroneum_ips_gateway] img { height: 25px; } or similar, but this would be a question for the plug-in author.

Egg