Home Forums WoodMart support forum Mobile “add to cart” button in one line

Mobile “add to cart” button in one line

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #451390

    xyrios.nl
    Participant

    Dear,

    I see that my mobile website for iphone is good.

    BUt when I look on my older (less wide) samsung galaxy s9, the add to cart button is in two lines instead of one.

    You can see the screenshots that I have added to this message.

    How can I make the “add to cart” button appear in one line automatically on mobile?

    Attachments:
    You must be logged in to view attached files.
    #451447

    Artem Temos
    Keymaster

    Hello,

    Try to add the following code snippet to the Custom CSS for mobile devices area in Theme Settings to fix this issue.

    form.cart .single_add_to_cart_button {
    	padding-left: 12px;
    	padding-right: 12px;
    }

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)