Forums

Tanzaku- Change grid color based on category (3 posts)

  1. djbarry
    Member
    Posted 3 months ago #

    Hi,
    I'm using the tanzaku theme to make a portfolio of different courses at my school and was hoping there was a way to change the color of the grid's background color based on what category the post is filed under. Does anyone know how I might go about doing this? I'm assuming this would go somewhere within the 'style.css' near here:
    div.single-item.rounded {
    background-color: #e9e9e9;}
    but I'm unsure of the syntax I would use to call the category/ specify a unique grid color for each of the respective categories.
    Any help you can provide would be greatly appreciated.
    Thanks!

  2. alchymyth
    The Sweeper
    Posted 3 months ago #

    does the theme use post_class() for the post divs?

    try to work with a tool such as Firefox' add-on Firebug to check the css classes; http://getfirebug.com/

    please post a link to your site, if you would like someone here to have a look.

  3. djbarry
    Member
    Posted 3 months ago #

    Unfortunately, I am developing this site for a University- and I don't think they would appreciate me posting the URL to a site in development to a public forum. If you think you might be able to help further by seeing the site, please contact me at dan(dot)djbarry(at)gmail(dot)com and I will be able to forward you the URL.
    Thanks!

Reply

You must log in to post.

About this Topic