Buy Button Width Issue Need Help Fixing It

Hi everyone,

I noticed that the “Buy it now” button on my store has had its width cut down, and I’m not sure how this happened. Could someone please suggest a way to fix this? Any help would be greatly appreciated!

Thanks in advance!

1 Like

Look like a CSS issue, have you changed something or added any app recently?

Hey @getshre

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 tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @getshre

Check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

.buy-buttons--multiple .shopify-payment-button__button {
        height: auto;
    }

And save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Thank you so much it resolved my issue!Really Appreciate it

Yes it was essential trust badge app. I’m sure that would have caused issue cuz before this problem wasnt there

Appreciate it!

Thanks

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.