A World of Styling Tricks in Two Little Words: Body. Classes.

Mary Baum

Never let it be said that this flying fat broad has body issues. Oh no. How many times have you needed to tweak a category of posts to make some element fit a little better? Or had a site with some content aimed at fashion-conscious adults – and another set of posts aimed at their kids? You could use all sorts of fancy taxonomy – custom post types or multisite, or some other foolishness. But I just don’t have the patience. But I do have a secret weapon. Body classes. They’ve gotten me out of more styling jams than Janet Jackson’s wardrobe staff. (Wait. That’s not saying much, is it?) Let’s take a look at how a good look through all those classes on your body tags can lead you to a world of styling options – with no malfunctions allowed.

Saturday 9:45 AM

Speaker

Published by

marybaum

2022 Core representative and co-maintainer of a few components. Copy editor for the Core team (I may have tweaked that error message you saw yesterday!) WordCamp speaker, mostly on design and CSS. Direct marketer with a design degree in three things: 1. Don't make it symmetrical. 2. Do make it look intentional. 3. And if you can’t make it good, make it big. Self-taught developer, if you don’t count CSS-Tricks, Know the Code Pro and Wes Bos. Dabbler in online fabric and assorted other product design, and 3D. Tennis, landscape and macro photographer and near-daily tennis player. Grandmother.

WordCamp Phoenix 2016 is over. Check out the next edition!