How do i change the color of a button ?
-
Hello,
How would i change the color of a button if the element is ?
<input name=”submit” type=”submit” id=”comment-submit” value=”Post Comment”>
quite confused… ?
Thank you
The blog I need help with is: (visible only to logged in users)
-
That looks like the code for the comment button, are you trying to change it in any particular place on your site as that will change the code you need to edit it. Also which parts do you want to colour, the background/text/border?
-
I want to change the color of the button it is one button on al pages. ” submit comment” by comment box
-
Hi, I’ve included both a background declaration and a color declaration. If you only use one of those, delete the other, or you can use both. Edit the colors as desired.
#respond .form-submit input, #respond .form-submit input#comment-submit, #respond .comment-form-fields input[type="submit"], #respond p.form-submit input[type="submit"], #respond input[type="submit"], #commentform #submit { background: none repeat scroll 0 0 #cc0000 !important; color: #fff !important; }
- The topic ‘How do i change the color of a button ?’ is closed to new replies.