ctal37
1
Hiii
I want to change the sizes of my all payments icons. Please help
me
I’ve added these icons using this code:
{% assign enabled_payment_types = 'master,visa,rupay, upi' | remove: ' ' | split: ',' %}
{% for type in enabled_payment_types %}
-
{{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
{%- endfor -%}
Hi @ctal37 . Can you share the store url for which you applied these css?
ctal37
3
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
.icon--full-color {
width: 50px !important;
height: auto ;
}
.list-payment {
align-items: center;
}
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Thank you for the url @ctal37 . You can adjust the height and width of the following code:
.icon--full-color {
width: 48px;
height: auto;
}
Currently you’ve width: 35px. Let us know if you’ve any query.