Payments Methods Image Display

Open to all! Ask other shopowners for help.
Post Reply
User avatar
tessthepup
Certified Developer
Posts: 383
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Payments Methods Image Display

Post by tessthepup »

Hi Guys,

I have changed the line in a language file to show an image of payment methods instead of the name which works fine when selecting a payment method but when on the payment page the image is to big for the box it displays in (see attached screenshot)

The code from the language file is

Code: Select all

$pfx . 'PUBLIC_TITLE' => '<img border=0 src=/images/credit_cards.png align=absmiddle>',
Just wondering if anyone knows a better method so that the image displays correctly under the payment heading.

The page is a combination of 2 Page Checkout by Raiwa and the new Stripe module from BrockleyJohn

The question is more an image display question than a specific addon question hence why posted.

Thanks

Mark
You do not have the required permissions to view the files attached to this post.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4553
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Payments Methods Image Display

Post by burt »

The simplest option would be to change the dimensions of that image.
Make it square maybe, with two rows of CC logos.
User avatar
tessthepup
Certified Developer
Posts: 383
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: Payments Methods Image Display

Post by tessthepup »

burt wrote: Mon Feb 05, 2024 10:12 pm The simplest option would be to change the dimensions of that image.
Make it square maybe, with two rows of CC logos.
@burt
Yeah I have had to do that just to get the job off the list :lol:


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply