Spreading sizes across the size of the add to cart button on phone

hey,

does anyone know how to to spread all sizes across the total length of the add to cart button?

thanks in advance

shop: parfumproben.de

pw: test1

current version

desired result

Hi @drew23 ,

This is Victor from PageFly - Landing page builder, I’d like to suggest this idea for solution:

Step 1. Go to Online Store → Theme → Edit code
Step 2. Open your theme.liquid theme file
Step 3. Paste below code before :


Hope my answer will help you.

Best regards,

Victor | PageFly

thanks for the quick answer! do you know by any chance how to make sizes wider?

@drew23 , Yes, you can add more code below:


thanks a lot

do you know how to center them on desktop version? so they are centered on the add to cart button width

@drew23 , You can try this code below:


it worked thanks but the gap between each size is a bit too small, do you have a quick fix for that?