The payments cards and trust badges are not aligned under the buy button

The payments cards and trust badges are not aligned under the buy button on desktop view but is okay on mobile and the laptop screen,what should i do ?

it isn’t working :(((((

Hi @rubi06

Welcome to the community.

To be able to give you the correct code, we do need your store link, and if the front end is password-protected, then the password too.

Of course, it is not working, first it is an AI-generated answer, and second, it is a guess. We do not know what theme you have, what customization you have. So it is all guessing.

Hi Liza

I’m using the sense theme, the payment cards and trust bages are created in custom liquid

Hey @rubi06

Just simply provide your store URL and password (if enabled) and I’ll guide you the exact solution instead of AI generated spammers.

Best,
Moeed

Hey @rubi06

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code in the bottom of the file above </ body> tag
<style>
@media screen and (min-width: 768px) {
ul.list.list-payment {
    max-width: 44rem !important;
}
}
</style>

RESULT:

If I managed to help you then a Like would be truly appreciated.

Best,
Moeed

Thanks Moeed, how can i center the trust badges bellow as well ?

Here’s the updated code, replace it with the one you added.

<style>
@media screen and (min-width: 768px) {
ul.list.list-payment {
    max-width: 44rem !important;
}
.ec_trust-badges {
    max-width: 44rem !important;
}
}
</style>

RESULT:

If I managed to help you then a Like would be truly appreciated.

Best,
Moeed

Thanks Moeed For your Help and fast response :beating_heart: