This topic is: not resolved
- This topic has 23 replies, 3 voices, and was last updated 11 years, 2 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Community Forums › Forums › Archived Forums › General Discussion › Button Color
Tagged: color, css, submit button
I bet you look at a lot of websites and mixing them up sometimes must be inevitable. No problem. I'm happy for any support you're willing to offer.
Okay, using this forced the Enews button to be black:
.enews-widget input[type="submit"] {
background: #000 !important;
}
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+
It works!
.enews-widget input[type="submit"] {
background: #6F1E32 !important;
}.enews input:hover[type="submit"] {
background: #80535F !important;
Is there a similar command with !important that I could use to change the border around the submit button too?
Yep, just add to that first rule up there:
border: 3px solid #444 !important;
or whatever you need. It's not the very best practice CSS-wise, but it doesn't hurt anything and sometimes it's necessary if your rules are being overridden.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+
© 2025 WPEngine, Inc.