How to Align and place these liquid section under the buy button?

How to Align and place these liquid section under the buy button?

Lucas1200
Excursionist
28 0 4

I added a size chart and payment method section to the product page. But I can't get the payment section to align nicely under the buy button.
Scherm­afbeelding 2024-08-30 om 12.15.29.png

My store id is: 2e208a.myshopify.com

Replies 9 (9)

topnewyork
Globetrotter
633 113 134

Hi @Lucas1200 ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

 

<style>
.ss-payment-list {
    justify-content: start !important;
}

.ss-payment-text {
    text-align: left !important;
 }
</style>

 

Or the below code:

<style>
#ss-payment-list-template--19886100480346__ss_payment_icons_4y9ckC {
    display: flex !important;
    justify-content: start !important;
    text-align: left !important;
}
</style>

 

 

topnewyork_0-1725013649001.png

 

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at Top New York Web Design
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel

dws_pvt_ltd
Shopify Partner
287 54 79

Hello! @Lucas1200, Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your section file.
5.  open "main-product.liquid"
6. Add the following code at the end of the file.

 

product-info .ss-payment-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    padding: 0;
}
product-info .ss-payment-text {
    width: 100%;
    text-align: left;
}

dws_pvt_ltd_0-1725013680778.png

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

 



Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

Sweans
Shopify Partner
397 76 118

Hi @Lucas1200 ,

Please add the CSS code in the theme stylesheet.

 

Style1:

=====

 

.ss-payment-list {
  width: 100%;
  justify-content: flex-start;
}
.ss-payment-text {
  text-align: left;
}

 

 

Result:

====

Sweans_0-1725016085091.png

 

 

Style2:

=====

 

.ss-payment-list {

  width: 60%;

}

 

 

Result:

====

Sweans_1-1725016113750.png

 

 

I hope this helps! If it does, please like it and mark it as a solution! 

If you need further assistance, feel free to reach out!

Regards,

Sweans

 

 

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

Lucas1200
Excursionist
28 0 4

Thanks! I want style 2. It works for the text but the icons are still aligned left... How to fix that?
See image below:

Scherm­afbeelding 2024-08-30 om 14.24.19.png

dws_pvt_ltd
Shopify Partner
287 54 79

Hello! @Lucas1200, Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your section file.
5.  open "main-product.liquid"
6. Add the following code at the end of the file.

 

 

 

product-info .ss-payment-text {
    text-align: left;
}

 

 

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
Sweans
Shopify Partner
397 76 118

Hi @Lucas1200 ,

 

Please replace the old CSS code with the new one and let us know.

 

.ss-payment-list {
    width: 100%;
    max-width: 44rem;
 }

 

I hope this helps! If it does, please like it and mark it as a solution! 

If you need further assistance, feel free to reach out!

Regards,

Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

Lucas1200
Excursionist
28 0 4

Nothing changes.. I think I have some kind of extra CSS code that is holding the icons left?

Sweans
Shopify Partner
397 76 118

Hi @Lucas1200 ,

 

We have checked the website and understood that the code doesn't update properly.

Sweans_2-1725257384951.png

Please replace or add the new CSS code. So the text and icons should be displayed in the center.

Sweans_3-1725257410373.png

 

Code:-

 

.ss-payment-list {
    width: 100% !important;
    max-width: 44rem !important;
 }

 

I hope this helps! If it does, please like it and mark it as a solution! 

If you need further assistance, feel free to reach out!

 

 

Regards,

Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

Lucas1200
Excursionist
28 0 4

Still doesn't change anything 😞