Home › Forums › WoodMart support forum › In mobile version , how to reduse buy now button length ?

In mobile version , how to reduse buy now button length ?

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #730018

    jesanahmmed
    Participant

    In mobile version buy now button is full lenght but cart to button not. i want to reduce buy now button length in mobile version. witch is same to same with add to cart button length. how to take it.

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Can you please share the product page URL so I can check and give you the custom CSS code to change the width of the Buy Now button?

    Best Regards.

    #730021

    jesanahmmed
    Participant
    #730022

    jesanahmmed
    Participant

    I want to change only for mobile version, pc vesion is ok

    #730041

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Try to add the following custom css code in Theme Settings > Custom CSS > Custom CSS for mobile:

    /* Keep all cart form items on one line */
        .single-product form.cart {
            flex-wrap: nowrap !important;
        }
    
        /* Force both buttons to take equal space */
        .single-product form.cart .single_add_to_cart_button,
        .single-product form.cart .wd-buy-now-btn {
            width: auto !important;
            padding-left: 10px !important;
            padding-right: 10px !important;
        }

    Best Regards

    #730043

    jesanahmmed
    Participant

    it ok for mobile, but not work for mobile landscape, tablet

    #730070

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Please try to use this same Custom CSS code in Theme Settings > Custom CSS > Custom CSS for tablet and Custom CSS for mobile landscape area and check how it works.

    Best Regards

    #730072

    jesanahmmed
    Participant

    i check it but not work, after mobile landscape view, and reload it same as before

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    I have checked your site in landscape mode and the code is working fine.

    See the screenshot for clarification: https://postimg.cc/SXGWwjSn

    Best Regards

    #730097

    jesanahmmed
    Participant

    it is vertical mode, Working not fine, i check my phone and others phone dear. you screenshot is vertical mode

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards

    #730137

    jesanahmmed
    Participant

    Send it to personal contact > General Manager

    #730138

    jesanahmmed
    Participant

    I Send it to you in personal contact > General Manager

    #730140

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    We have a private area (below the message area): which is visible to moderators only so you can leave the details there.

    Best Regards

    #730141

    jesanahmmed
    Participant

    ok

    #730148

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    I have again checked your site in mobile landscape mode and it is displaying correctly.

    See Screenshot for clarification: https://postimg.cc/rDg8GKNM

    Please clear your site cache, browser cache, and check the site in incognito mode / another browser or device to confirm if the issue persists.

    If the issue remains, could you please let me know which device or browser you are using?

    Best Regards

    #730150

    jesanahmmed
    Participant

    Ok , Thank You

    #730172

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You’re Most Welcome!

    Feel free to write back anytime. If you need further assistance, we are always here to help you.

    If you have a minute, we’d truly appreciate your feedback — it helps us improve the product and shape future updates more effectively. We’d love your feedback on our theme:
    https://www.trustpilot.com/review/xtemos.com

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

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

The topic ‘In mobile version , how to reduse buy now button length ?’ is closed to new replies.