Home Forums WoodMart support forum How to edit text size of “Add to cart” button

How to edit text size of “Add to cart” button

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #561820

    luka.soldo007
    Participant

    How to edit size of text on “Add to cart” button it was displayed recently normal and for no reason now not showing half of text i guess i need to edit size od text to be displayed fully..so how to do it?

    https://i.imgur.com/ZG48U6k.jpeg

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

    Luke Nielsen
    Keymaster

    Hello,

    Try to use the code below for help:

    body .wd-product.wd-hover-fw-button .wd-add-btn .add-to-cart-loop span {
        font-size: 10px !important;
    }

    Thank you for your time.

    Kind Regards

    #562274

    luka.soldo007
    Participant

    Thats works, but text is now small and box is large how can i make text to fit in box
    to be big text but to also fit in box (border) i tried setting text px to 11 but immediately not working good..

    https://i.imgur.com/4StZxfi.jpeg

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

    Luke Nielsen
    Keymaster

    Hello,

    Remove the above code and replace it with the below one:

    .wd-product.product-grid-item.wd-hover-fw-button .wd-add-btn .add-to-cart-loop span {
        text-overflow: unset;
        white-space: wrap;
    }

    Result – https://prnt.sc/WGopBm-v0r2f

    Kind Regards

    #562869

    luka.soldo007
    Participant

    is there way to be in one row but to be displayed fully?

    Like this?

    how to achieve this https://i.imgur.com/gPWGZY2.jpeg

    it was like this and for no reason after updating it changed..and i don’t know how to fix it anymore to be like that, can you please help me how to achieve that to be like on picture

    #563065

    Luke Nielsen
    Keymaster

    Hello,

    1. You can remove the quantity near the button – https://prnt.sc/z2WMCq5I-Ppu
    2. You can make the text shorter, e.g. “u košaricu”.
    3. Change the font size (make it smaller)

    Unfortunately, there are no other ways to make it smaller.

    Kind Regards

    #564955

    luka.soldo007
    Participant

    i understand but text is important to be displayed fully
    Quantity button is also important

    how to make it like it was before how to be displayed like this https://prnt.sc/z2WMCq5I-Ppu
    on image Text is big, quantity button is there and its fully displayed..how can i achieve that again?

    #564956

    luka.soldo007
    Participant

    To be displayed as this https://i.imgur.com/gPWGZY2.jpeg (previously posted wrong link of image)

    second question

    Is there way to keep categories displayed when person go to shop and chose certain category
    to keep categories displayed always

    now for example buyer choose food category and all instantly all categories are not displayed and he have to open shop again to be shown..is there way to keep them all the time so user can easily move through categories

    #565210

    Luke Nielsen
    Keymaster

    Hello,

    1. Sorry, but there are no other ways except these – https://xtemos.com/forums/topic/how-to-edit-text-size-of-add-to-cart-button/#post-563065

    2. Navigate to Dashboard -> Layouts -> edit the archive layout and for the “Product categories” set the “Custom query” option here – https://prnt.sc/ZF4_L7KfsP_c

    Let me know if you have any additional questions.

    Kind Regards

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