Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Style each post differently by category


 
Prev Previous Post   Next Post Next
  #1  
Old Dec 29, 2010, 10:41 AM
lisyan
 
9 posts · Dec 2010
Style each post differently by category

Hi!

I'm trying to reach my 'ideal template' using atahualpa. The most important need I have is to mark all the post of certain category with a distinctive background color.

I found this article which suggest to use the post_class PHP function.

I tried to add this in ATO--->Style/edit Center Column---> The Loop
before </div><!-- / Post -->

PHP Code:
<div id="post-39" class="post post-39 category-8 category-test logged-in"
and then in CSS/HTML Insert
Code:
.category-test {background: #00ff00; border: 1px solid #84aac4;}

but with no result...do you have some suggestions?
thanks thanks =)
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] style some links differently... Jeff G Center area post/pages 9 Aug 7, 2010 09:48 AM
Style differently the active (just clicked) link in Categories and other widgets ymf Sidebars & Widgets 2 Mar 3, 2010 02:58 PM
[SOLVED] Style one image differently to others chair Atahualpa 3 Wordpress theme 2 Jul 27, 2009 02:19 AM
Style widget content differently to bulleted text perdox808 Header configuration & styling 1 Apr 11, 2009 06:03 PM
Format a "particular" Post differently Shepherd Jim Post-Kicker, -Byline & -Footer 1 Mar 23, 2009 02:41 PM


All times are GMT -6. The time now is 07:24 PM.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.