WordPress.org

Ready to get started?Download WordPress

Forums

adding classes and ids to posts (2 posts)

  1. budesigns
    Member
    Posted 8 years ago #

    If I wanted certain posts to have a background color of yellow (for example) how could I add clas="yellowbkg" to these posts?

    Ultimately, I'd like to customize my site homepage into less of a blog-style chronology, and more closely control the display of excerpts on the page, having certain posts in one column, certain posts in another, and certain posts spanning both columns. See this diagram as an example (disregard the sidebar comments): http://www.cultivatecreativity.com/images/SitePlan.jpg

    Once I know how to add different classes or ids to my individual posts, is it just a matter of getting the css written for the positioning?

  2. Jonathan Landrum
    Member
    Posted 8 years ago #

    For the not-so-blog'ish chronology, check out http://ourtake.net for some inspiration (it's a political site, but it's running WP.) As for the background, this page has a plugin you might be interested in: http://wp-plugins.net/plugin/catHighlight/

Topic Closed

This topic has been closed to new replies.

About this Topic