Add/remove text "Add to cart" from the products gallery

This topic has 11 replies, 2 voices, and was last updated 3 years, 3 months ago ago by buscape

  • Avatar: buscape
    buscape
    Participant
    January 13, 2021 at 11:40

    Hi,
    how can I add/remove text on the shop page:
    https://prnt.sc/wmhn0s
    and on the product section:
    https://prnt.sc/wmhnm6

    Kind Regards!

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 13, 2021 at 12:11

    Hello,

    Could you decide and tell us if you want to add or remove the text? Then we’ll be able to give you correct code.

    Regards

    Avatar: buscape
    buscape
    Participant
    January 13, 2021 at 13:16

    So, I can’t change it through the admin panel?

    In this case I’d like to have text next to to the icon.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 13, 2021 at 14:44

    Hello,

    No, there is no option. I have added the custom code to child theme style.css. Check now.

    Regards

    Avatar: buscape
    buscape
    Participant
    January 14, 2021 at 08:33

    I think that it shouldn’t appear:
    https://prnt.sc/wn6f5c

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 14, 2021 at 10:49

    Hello,

    Fixed.

    Regards

    Avatar: buscape
    buscape
    Participant
    January 15, 2021 at 12:43

    Did you comment the changes of the CSS code, so I can easily find them?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 15, 2021 at 17:27

    Hello,

    We added custom code to child theme style.css.

    Regards

    Avatar: buscape
    buscape
    Participant
    January 15, 2021 at 18:29

    Yes, I know.
    But if you had commented above the code I will know exactly where is the custom code. In case I need to revert it back.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 15, 2021 at 18:48

    Hello,

    Don’t understand your question. Code placed to child theme style.css displays the add to cart text on the shop page. If you want to hide text remove the code. What else do you need?

    Regards

    Avatar: buscape
    buscape
    Participant
    January 17, 2021 at 11:27

    Sorry, now I see that you already commented it:
    /* === Custom to show the Add to cart text on the shop page ==== */

  • Viewing 11 results - 1 through 11 (of 11 total)

The issue related to '‘Add/remove text "Add to cart" from the products gallery’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.