Closed rgilman closed 5 years ago
Sounds good. As for what to do about the H1, one angle is to think about the semantics. Semantically you should just have a single H1 per page, and it should be more or less the thing that describes the page as a whole. A popular recommendation in CSS circles is not to use things like H1 for styling at all, but just for their semantic meaning. Given that, would you say we are using the right H1 here?
The page title identifies the whole section of pages for the group. It's like a breadcrumb. The thread title identifies/describes the page as whole.
Yeah, makes sense. In which case semantically the thread title should be the H1 (regardless of how it's styled).
That said, it may make sense not to try to dig that deeply into the template code at first, so just restyling the H1 conditionally to this page might be a good start.
Your call on the pace. :-)
Here's what it looks like now:
Page title BP uses the group name as the page title throughout the group and styles it with an H1. That makes it way too big for it's appropriate place in the visual hierarchy. I would like to see it the same size as the menu text in the header. The user needs only a small reminder of what group this topic is in.
I'm seeing a couple of ways to approach this styling change; there may well be others.
I suspect that in the long run the second approach is more robust but it may have more of an initial learning curve since it will require some PHP work and use of BP and bp-nouveau functions.
Thread title From a visual hierarchy perspective, I feel this should be the largest type on the page. It's current size is likely fine, which is fortunate since it's generated directly by the bbPress plugin rather than through a template. See bbpress/includes/extend/buddypress/groups.php line 807 for bbp_topic_title().
Spacing With the page title smaller, this could be tightened up.
How does all that sound to you?