Home Forums WoodMart support forum Coupon section in checkout has broken layout

Coupon section in checkout has broken layout

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #648001

    kontakt-9949
    Participant

    Hey, the layout of my coupon section is broken on small devices. How do I get it back to how it was before? I have attached two screenshots; one of how it should be (how it is on larger devices as well) and one of how it is now on phone devices. How do I fix the layout? Thank you so much.

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

    Artem Temos
    Keymaster

    Hello,

    To fix this issue, try to add the following code snippet to the Custom CSS area in Theme Settings.

    .checkout_coupon.woocommerce-form-coupon .form-row-first {
       flex: 1 0 0%;
    }

    Kind Regards

    #648029

    kontakt-9949
    Participant

    Hello, this did not work unfortunately. Do you have another solution? Looking forward to hearing from you.

    #648350

    Bogdan Donovan
    Keymaster

    Hi,

    The previous code only affected the coupon layout itself. If you also want to modify the layout of the toggle that opens the coupon section, add the following custom code next to the previous one.

    .wd-page-content :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle)>div {
        display: block;
        text-align: var(--wd-align);
    }

    When applied correctly, the custom code will result in the following appearance: https://monosnap.com/file/VAB9JebotjiqiiwujsReDnncVqQUmu

    Kind Regards

    #648419

    kontakt-9949
    Participant

    Amazing, that worked. Thank you so much. Really great customer support!

    #648461

    Artem Temos
    Keymaster

    You are always welcome.

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

The topic ‘Coupon section in checkout has broken layout’ is closed to new replies.