• Resolved lauhou

    (@lauhou)


    Hello,

    I can’t seem to be able to change the button color and hover color.
    I have used the custom styles, chosen a color. It doesn’t work
    I have tried to add it to .direct-stripe-button.

    
    .direct-stripe-button {
    padding: 10px;
    width: 90%;
    font-style: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 2.0em;
    font-color: white;
    background-color: #FF2B6E; important!
    border: none;
    }
    

    I get a blue button with a white and blue border hover button like this

    Also the look of the button changes with the theme I use.
    I don’t know how to get the color and hover colors I want.

    Please help!

    I don’t know what to do.

    • This topic was modified 8 years, 11 months ago by lauhou.
Viewing 1 replies (of 1 total)
  • Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @lauhou,

    Thank you for using Direct Stripe.

    So I guess you enabled custom styles checkbox under styles tab of Direct Stripe settings and changed at least the color.

    Could you try switching to WordPress default theme, twentyseventeen and see if custom button styles work?

    In the case it worked on twentyseventeen, try adding !important on each css argument but before the ;

    I hope that will work.

    Best regards

Viewing 1 replies (of 1 total)

The topic ‘Button CSS Color is not working’ is closed to new replies.