How to Center my trust badges in supply theme?

New Member
10 0 0

Hi everyone,

I have added some trust badges to my Shopping Cart page directly below my checkout button. I would like the trust badge to automatically center itself (I have done this on the buttons by making the width=100% but if I do this with the trust badge image it will be huge... I dont want it to scale in size, just to stay in the center)

currently I have this:

https://i.imgur.com/CMF3ee4.png

I want this instead:

https://i.imgur.com/DNnIiGH.png

 

Please help!!

Steve

0 Likes
Shopify Expert
9807 92 1561

I can see that you've got code like this at the moment:

<div>
  <img src="https://cdn.shopify.com/s/files/1/1956/2223/files/product_desc_below_abover.png?11467419336879759723" width="480px/">
</div>

You could change that to this:

<div style="text-align: center;">
  <img src="https://cdn.shopify.com/s/files/1/1956/2223/files/product_desc_below_abover.png?11467419336879759723" width="480px/">
</div>

 

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
New Member
10 0 0

Thanks Jason!!

 

0 Likes
Tourist
13 0 0

I know this is an old question, but I was wondering what to do if you just wanted to move it over just a little bit? Centering my trust badge takes it too far to the right.

0 Likes