By Evan Buzzell on Saturday, 25 January 2014
Posted in General Issues
Replies 1
Likes 0
Views 526
Votes 0
Hi all,

I am looking for a way to have all of my posts under the "Front Page" category show up with a different background than my regular blog. I have tried looking up some information on using template styles and I didn't have much luck. Anyone have any insight?

My site is http://www.sbsmediahouse.com/ and I am looking to have the post featured on that section on the front page have a different background than the blog background when you load the full article. The actionsports is a main part of my blog, but I think it may be keep some users away from our site.

Thanks for your help!
Hello Evan,

I am sorry but this is not possible currently but you can customize this if you want. You can detect the category id by using the codes below in the theme file blog.item.php


class="<?php echo ( $row->category_id == 10 ) ? ' different-category' : '';?>"


This way you can apply a different class on each of the blog item's wrapper.
·
Saturday, 25 January 2014 12:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post