WordPress.org

Support

Support » How-To and Troubleshooting » changing colour of button

changing colour of button

  • Can anyone please tell me how to change the colour of the button to green and the colour of the text on a button to black or a bold white.

    I have used this code, but cannot work out where to insert this information and how to get this to work.

    <input type=button onClick=”parent.location=’http://www.eventbrite.co.uk/event/4964545088?ref=ebtn'” value=’Register HERE!’>

    Thanks

    This is the code in the CSS, so it is available I just don’t know how to insert it, so that it works.

    a.button.green {
    background-image: url(images/shortcodes/buttons/button_green.png);
    border: 1px solid #adc671;
    color: #5d7731;
    text-shadow: 0 1px 0 rgba(255,255,255, 0.4);
    }

    a.button.large.green { background-image: url(images/shortcodes/buttons/button_green_large.png); }
    a:hover.button.green { border: 1px solid #8bb14d; }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘changing colour of button’ is closed to new replies.
Skip to toolbar