Solved

Payment Icons

jrjed988
Tourist
3 0 1

petscape.co, how do I align payment icons below the buy buttons?

Accepted Solution (1)
sahilsharma9515
Shopify Partner
1010 124 189

This is an accepted solution.

Hi @jrjed988 Replace the code with this code:

 

.ss-payment-list {
    position: relative;
    justify-content: left !important;
    left: -7px !important; //you can change -7px to whatever value you think will aling both the elements.
}

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


View solution in original post

Replies 5 (5)

sahilsharma9515
Shopify Partner
1010 124 189

Hi @jrjed988 Please add the code in your theme.css/base.css/style.css file which is available in your theme.

 

.ss-payment-list {justify-content: left !important;}

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1715750590665.png

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


jrjed988
Tourist
3 0 1

It has worked, but it isn't completely centred on the buy buttons it is the slightest bit to the left

sahilsharma9515
Shopify Partner
1010 124 189

This is an accepted solution.

Hi @jrjed988 Replace the code with this code:

 

.ss-payment-list {
    position: relative;
    justify-content: left !important;
    left: -7px !important; //you can change -7px to whatever value you think will aling both the elements.
}

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


jrjed988
Tourist
3 0 1

Thank you. It worked like a charm, and I appreciate the help.

AnneLuo
Shopify Partner
522 107 103

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Add the code below to base.css file

.ss-payment-list {
   max-width: 44rem;
}
.ss-payment-item {
   margin: 0 auto !important;
}

After modification

 

AnneLuo_0-1715753265844.png

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   Buy Me A Coffee