Project

General

Profile

Actions

Bug #135

closed

Add CSS classes to body tags in bp-nelo

Added by Boone Gorges over 14 years ago. Updated about 14 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Upgrades
Target version:
-
Start date:
2009-12-09
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Many styling bugs are popping up around the site that cannot be fixed without either adding markup to templates (in the form of additional CSS selectors) or using body tags to make style changes to elements only on specific kinds of pages. The former option is a bad one because it greatly reduces the number of page templates that we can inherit from the parent theme. Thus I think the solution is to implement proper body classes.

To implement the classes is easy (the function is body_class() I think). But it's bound to stir up a lot of CSS that is currently idle on pages other than the home page, so a bit of fishing through the stylesheets to zap unnecessary styling will be necessary. Ideally this work would be combined with a more general optimization of the theme, but the task of fixing the small styling bugs is sufficiently important that I think we should get started on it right away.

Lucas, I know that you and the rest of the team at CIC are very busy. I'm assigning this ticket to you for the time being so that you can give me a sense of how much time you have in the next week or so. If you don't think you'll be able to get to it, let me know and either Chris Stein or I will take a stab at it.

Actions

Also available in: Atom PDF