MyBB Community Forums

Full Version: change the color of all submit buttons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It should be easy but I can't do that. I'd like to change the color of all submit buttons with class="button", how can achieve that in myBB 1.8?

<input type="submit" class="button" name="submit" value="Search">

In the CSS I tried in vain with :
.button {background-color:red;}
Try:

input.button {background-color: red;}
(07-17-2015, 07:53 PM)Ad Bakker Wrote: [ -> ]Try:

input.button {background-color: red;}

It doesn't work Sad
you can try it by adding !important - eg. .button {background: red!important;}
(07-18-2015, 03:36 AM).m. Wrote: [ -> ]you can try it by adding !important - eg. .button {background: red!important;}

Thank you, now it's working with:  input.button{background:red!important}