Grow your CSS skills. Land your dream job.

Collection of ‘default wordpress components’?

  • # May 15, 2013 at 2:25 am

    I have found myself lately needing a quick way to mockup the CSS for sites that will be done in WordPress, and I’ve realised that one of the things that would be worth gold to me would be a decently cohesive list of stuff such as what the default menu looks like, what classes are added automatically to the body, etc.

    I just found a [post from 2010](http://digwp.com/2010/05/default-wordpress-css-styles-hooks/) that details various CSS style hooks, but it doesn’t give the pattern.

    Does anyone else know of another collection of patterns for these components? Or for that matter, would anyone else have any use of that kind of collection of patterns?

    # May 15, 2013 at 12:46 pm

    That list from DigWP has the bulk majority of the default classes. The only thing I notice from a quick skim that’s missing is the wp_nav_menu classes and probably the new gallery classes.

    [Bones'](http://themble.com/bones/ “Bones Theme”) SASS partials have a good chunk of what that article lacks. Nicely organized and commented too.

    As far as a full documented list of the “where, why, how” of the default classes goes… I wish it existed XD I’ve never seen a consolidated, consistently maintained list of them.

    # May 16, 2013 at 2:19 am

    Yeah, I kind of figure it’s the “consistently maintained” that’s the issue! I can certainly start my own thang there, but then I’ll end being busy at work/home, or bored, etc, and then it’s no longer consistently maintained =)

    the wp_nav_menu classes are scary, btw… `menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-1 current_page_item menu-item-1`

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".