I have just added the list of payment icons underneath the add to cart button on my shopify product pages, however, I want to reduce the size of the icons, so that they all fit in one row for desktop and mobile. I am only trying to change the size of the icons on the product page, not in the footer.
This is the code I have already copied from the footer.liquid onto my product page
<ul style="justify-content:center;" class="list list-payment" role="list">
{%- for type in shop.enabled_payment_types -%}
<li class="list-payment__item">
{{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
</li>
{%- endfor -%}
</ul>
This has put them all in one row, but they don’t actually fit within the page and there is now a white border on the right. I will attach a picture of what it looks like.
I tried this, the problem is that they are too small on desktop and don’t fit in one row on mobile still. I will attach pictures, so you can see what I mean.
Sorry to be a pain, but I can’t seem to get it to work on desktop still, it might be because I adjusted the image sizes for that view slightly. I tried to adjust the padding and icon sizes, but can’t get it to fit.
There is space to the right of them though, because they are aligned to the left at the moment. Can’t we put them in the centre of the page, so there is an equal space on each side if you get what I mean