How to change the color of the “Buy Now” button in the footer.

4 replies2 participantsUpdated by Andrew Mitchell

  • Avatar: Nguyễn Văn Hiển
    Nguyễn Văn Hiển
    Participant

    https://file.kiwi/5fb141b8#Tlwakhe_VqE2bnv0ZEFRZw
    null

    Please, contact administrator
    for this information.

    4 Answers

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Nguyễn Văn Hiển,

    To change the color of the “Buy Now” button in the footer, please add the following code to Theme Options → Custom CSS → Global Custom CSS.

    Code for the normal state:

    body .etheme-sticky-cart .et-single-buy-now.single_add_to_cart_button.button {  
        background: #ff1900 !important;  
        color: #18d718 !important;  
    }

    Code for the hover state:

    body .etheme-sticky-cart .et-single-buy-now.single_add_to_cart_button.button:hover {  
        background: #1700ff !important;  
        color: #c7d718 !important;  
    }

    Best regards,
    8Theme Team

    Avatar: Nguyễn Văn Hiển
    Nguyễn Văn Hiển
    Participant

    Thank you!

    Avatar: Nguyễn Văn Hiển
    Nguyễn Văn Hiển
    Participant

    How to change the icon of the “Buy Now” button in the footer?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Nguyễn Văn Hiển,

    To replace the icon in the “Buy Now” button, we have added the following code in Theme Options → Custom CSS → Global Custom CSS:

    body .etheme-sticky-cart .et-single-buy-now.single_add_to_cart_button.button:before {
        content: "\e92c";
    }

    Best regards,
    8Theme Team

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register