Home Forums WoodMart support forum Buy button size

Buy button size

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #107811

    afc90
    Participant

    Hi,
    In the product page, I need to adjust the buy buttons sizes.
    The buttons are below price buy button and the sticky buy button in mobile.
    I need the buy button bellow price with width:80%.
    I’m using this:

    .btns-shop-light .single_add_to_cart_button{
        width:80%;
    }

    Problem is in the mobile view the sticky buy button after scrolling down is also with width:80%.
    See image with the 2 buttons.
    How to adjust the sticky buy button width to 100%?

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

    Hello,

    Try this code:

    body .summary-inner .cart .single_add_to_cart_button{
        width:80%;
    }

    add the code to the Theme Settings > Custom CSS > Mobile

    Best Regards

    #107879

    afc90
    Participant

    Thank you for your reply. Fixed. The code I was looking is:
    Theme Settings > Custom CSS > Mobile

    body .woodmart-sticky-btn-cart .single_add_to_cart_button {
     width:100%;   
    }
    #107916

    Hello,

    Yes, you should either correct or remove the previous code. If you have any questions please feel free to contact us.

    Best Regards

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