[wp-trac] [WordPress Trac] #23851: Can we get some classes on the comment form output?
WordPress Trac
noreply at wordpress.org
Fri Mar 22 20:02:01 UTC 2013
#23851: Can we get some classes on the comment form output?
-----------------------------+--------------------------
Reporter: nathanrice | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Themes
Version: | Severity: normal
Keywords: needs-patch |
-----------------------------+--------------------------
The `comment_form()` function is quite useful, but styling it pretty much
requires that you target the IDs, since the the outermost div and the form
itself don't have classes.
If you're trying to stay as low on the specificity scale when writing CSS,
not having classes available to target pretty much stops you cold.
I don't really care about the class names, though something descriptive
and somewhat semantic would be preferable.
Anybody have thoughts?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23851>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list