How to control the icons in the add to cart button and buy now button

This topic has 2 replies, 2 voices, and was last updated 2 years, 6 months ago ago by Rose Tyler

  • Avatar: Sadikul Islam
    Sadikul Islam
    Participant
    May 13, 2022 at 17:32

    Hi, How do I change the icons in the add to cart button and buy now button,
    I want 2 different icons in 2 places, what is the CSS to change this, see screenshot: https://d.pr/tlWXTA

    And another question!!
    Can I use font awesome icons there? if yes then how?

    Thank you

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 14, 2022 at 08:49

    Hello,

    https://fontawesome.com/v4/icons/

    .single-product .single_add_to_cart_button:before {
        font-family: FontAwesome;
        content: "\f218" !important;
    }
    .single-product .et-single-buy-now:before {
        font-family: FontAwesome;
        content: "\f013" !important;
    }

    Regards

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

The issue related to '‘How to control the icons in the add to cart button and buy now button’' has been successfully resolved, and the topic is now closed for further responses

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