Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 2 Months, 3 Weeks ago change the color of all submit buttons
#1
Solved: 4 Years, 2 Months, 3 Weeks ago
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;}
Reply
#2
Solved: 4 Years, 2 Months, 3 Weeks ago
Try:

input.button {background-color: red;}
Regards, Ad Bakker (NL)
Reply
#3
Solved: 4 Years, 2 Months, 3 Weeks ago
(07-17-2015, 07:53 PM)Ad Bakker Wrote: Try:

input.button {background-color: red;}

It doesn't work Sad
Reply
#4
Solved: 4 Years, 2 Months, 3 Weeks ago
you can try it by adding !important - eg. .button {background: red!important;}
Reply
#5
Solved: 4 Years, 2 Months, 3 Weeks ago
(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}
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)