Re: Resize payment icons on footer and checkout page Dawn 15V

Solved

Resize payment icons on footer and checkout page Dawn 15V

ctal37
Explorer
151 1 36

Hiii

I want to change the sizes of my all payments icons. Please helpWhatsApp Image 2024-08-04 at 10.52.36.jpeg me 

I've added these icons using this code:


<ul class="list list-payment" role="list" style="margin-top:13px;">
{% assign enabled_payment_types = 'master,visa,rupay, upi' | remove: ' ' | split: ',' %}
{% for type in enabled_payment_types %}
<li class="list-payment__item">
{{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
</li>
{%- endfor -%}
</ul>

Accepted Solutions (2)
niraj_patel
Shopify Partner
2378 514 512

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .icon--full-color {
     width: 50px !important;
      height: auto ;
  }
  .list-payment {
      align-items: center;
  }
</style>

niraj_patel_0-1722753667303.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

BrainStation23
Shopify Partner
406 60 59

This is 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.

Brain Station 23 PLC (Mail: js.sbu@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps

View solution in original post

Replies 4 (4)

BrainStation23
Shopify Partner
406 60 59

Hi @ctal37. Can you share the store url for which you applied these css?

Brain Station 23 PLC (Mail: js.sbu@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps
ctal37
Explorer
151 1 36
niraj_patel
Shopify Partner
2378 514 512

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .icon--full-color {
     width: 50px !important;
      height: auto ;
  }
  .list-payment {
      align-items: center;
  }
</style>

niraj_patel_0-1722753667303.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
BrainStation23
Shopify Partner
406 60 59

This is 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.

Brain Station 23 PLC (Mail: js.sbu@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps