Change width of "Add to cart" to match the width of other buttons

magpho
New Member
14 0 0

Hi, does anyone know how I can change the width of the "Add to cart" button so that it's full width and matches the "upload your image here" button?

magpho_0-1708406936506.png

Reply 1 (1)

DevDynamo
Shopify Partner
42 11 4

Hey @magpho ,

 

If you want both buttons to have the same width, you can use CSS to set the width property the same for both buttons to achieve equal width. Alternatively, if both buttons are contained within a div, you can set the width of the buttons to 100% to make them full-width within the div.

 

However, if this doesn't work for you and if you could share the website URL, I can take a look and provide a more specific solution as per your site's structure.

 

Thank You.

- Helpful response? Please give it a Thumbs Up!
- Solved your query? Mark it as an Accepted Solution!
- Level up your Shopify game - Subscribe to 'Shopify Insight' for exclusive insights today!