[buddypress-trac] [BuddyPress] #3435: Add CSS class to BP Component Page Titles
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sat Aug 6 04:00:55 UTC 2011
#3435: Add CSS class to BP Component Page Titles
-------------------------+-----------------------------
Reporter: mercime | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Theme | Version: 1.5
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+-----------------------------
Comment (by mercime):
Replying to [comment:3 DJPaul]:
>> DTheme adds .pagetitle and .posttitle to the standard WordPress
templates.
Yes, this is great because one can already separate the styling for page
titles in Posts and Pages still have <h2> tags within content of either
with a different style.
>> I don't want to introduce a new selector just for this. I'm more
concerned because DTheme uses a mixture of <h2> and <h3> for its page
titles on different pages. If the patch could be standardise the page
titles on all the BuddyPress templates to <h2> elements (or <h3>, if you
feel that is appropriate), we can also add the .pagetitle to the BP
component page templates.
I'd go even further and say that all page titles should be ideally tagged
<h1> and the blog title <h1> only in is_front_page and have it <h2> in all
the pages as we're dealing with XHTML doctype :-)
But going back to the available choices, <h2> and <h3>, I would go with
<h2>. Patch attached has changed <h2> and <h3> tittle tags to <h2
class="pagetitle">
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3435#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list