[wp-trac] [WordPress Trac] #25486: Request: Add default class to comment submit button
WordPress Trac
noreply at wordpress.org
Mon Oct 7 12:21:36 UTC 2013
#25486: Request: Add default class to comment submit button
-------------------------+------------------------------
Reporter: henrywright | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.6.1
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by c4xpl0siv3):
If you are using
http://codex.wordpress.org/Function_Reference/comment_form and you are not
customizing it's settings, or at least it's HTML tags, you should have
paragraphs around most elements.
The submit button is wrapped inside a paragraph with class "form-submit",
so you can easily style it using
{{{
.comment-respond .form-submit input[type='button'] { /** Your Styles */ }
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25486#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list