This topic has 5 replies, 2 voices, and was last updated 9 years by Radu.

  • Author
  • #41999
     rasmusberg
    Participant

    I want to make the buy button a different color while in the meantime changing the text color. I know how to change the background color of the button, but I can’t figure out the text color, could you help me please?

    This is the code you guys pasted in the Comments-sections og Themeforest.net:

    .single_add_to_cart_button.button {
    background: none repeat scroll 0 0 red !important;
    color: #fff !important;
    }

    Thank you

    Rasmus, Denmark

    #42019
     Radu
    Moderator

    Try this ,add code to Quick CSS from Theme Options ->General Settings

    COPY CODE
    
    button.single_add_to_cart_button {
    background-color:#FA6C6C !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #42023
     rasmusberg
    Participant

    Thank you.

    But how do I change both the color of the button AND the text color?

    I want a white text color and a green color for the button (#09a405)

    Thanks

    #42180
     Radu
    Moderator

    Insert this code

    COPY CODE
    
    button.single_add_to_cart_button {
    background-color: #09a405!important;
    color: #FFFFFF !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #42185
     rasmusberg
    Participant

    Great! Thanks! 🙂

    I suggest you put the option in the control panel. The color of the buy button influence sales up to 20%, plus having a another buy button at the button helps with almost 40%.

    Can I add another buy button via a css code also?

    #42209
     Radu
    Moderator

    Welcome,

    You cannot add button via css.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?