#25486 closed enhancement (wontfix)
Request: Add default class to comment submit button
Reported by: | henrywright | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.6.1 |
Component: | General | Keywords: | 2nd-opinion ui-feedback |
Focuses: | Cc: |
Description
The comments form defaults can be filtered using
comment_form_defaults
However, there isn't currently a class on the button. Can you add a default class? I'd like to then filter the default class to add my own custom one.
My style sheet is already bloated so would prefer not style the button using the ID.
Thanks in advance
Change History (4)
#2
@
11 years ago
- Keywords 2nd-opinion ui-feedback added
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
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