Home Forums WoodMart support forum How to make quantity input full width

How to make quantity input full width

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

    manhten
    Participant

    I want make add to cart and input full width.
    How we make it.

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

    Luke Nielsen
    Keymaster

    Hello,

    With the help of the below code, you will stretch input to fullwidth. Enter it to the “Global Custom CSS” area that is in Theme Settings -> Custom CSS.

    .single-product .entry-summary div.quantity,
    .single-product .entry-summary div.quantity input[type="number"] {
        width: 100%;
    }
    
    .single-product .entry-summary div.quantity input[type="button"] {
        min-width: 50px;
    }

    I hope this helps and have a brilliant day ahead! If there’s anything else that I can help with you, do let me know.

    Kind Regards

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