Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

Different BG-Color for different Categories??


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 13, 2009, 02:01 PM
hdwolle
 
19 posts · Sep 2009
Hello together,

I hope you have great christmas time?

I have a very difficult question.

It is possible to give each category an other background color?

I hope that someone can help me.

Best Wishes,

Markus
  #2  
Old Dec 13, 2009, 05:01 PM
juggledad's Avatar
juggledad
 
22,104 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
where do you want to change the color? in the menu, the backgrond of a post of that category, on a category page?
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Dec 13, 2009, 07:32 PM
hdwolle
 
19 posts · Sep 2009
I want to change it on the "summary" site of all posts.

So that the visitors see with each background-color in which category the post is.

And also I want to make the navigation for the categories in the same colors (as a legend).
  #4  
Old Dec 14, 2009, 06:51 AM
juggledad's Avatar
juggledad
 
22,104 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
what if a post is in mutiple categories?
and by 'summaries' do you mean the 'excerpts'? ie say you have one full post on the home page and 5 excerpts, you want the excerpts to be colored based on the category?

background or just the text color or both?

can you point out what you want on your site? detailed example
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Last edited by juggledad; Dec 14, 2009 at 06:54 AM.
  #5  
Old Dec 14, 2009, 07:16 AM
hdwolle
 
19 posts · Sep 2009
I will show it with a little grafic example and I hope it's good to understand.



The image shows the frontpage with all actual posts and each post should have another background color.

And on the left sidebar the navigation have to be in the same color as the post backgrounds.

I hope it is clear enough.
  #6  
Old Dec 14, 2009, 07:54 AM
juggledad's Avatar
juggledad
 
22,104 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
all you need to do is use css inserts (ATO->Add HMTL/CSS Inserts->CSS Insert) like this
HTML Code:
div.category-red-wine {background: #red;}
div.category-books {background: #blue;}
div.category-white-wine {background: #yellow;}
the name will be 'category-' plus teh category slug (dashboard->Posts->Categories)
the last insert will take prescidence, so if you had a post with the category 'books' and 'white wine' then it would be YELLOW. If you had the CSS in this order
HTML Code:
div.category-red-wine {background: #red;}
div.category-white-wine {background: #yellow;}
div.category-books {background: #blue;}
then the post would be BLUE
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #7  
Old Dec 14, 2009, 08:16 AM
hdwolle
 
19 posts · Sep 2009
Thanks. I will try it.

And I can try to modify it like I want e.g. round corners and so on.

I will post it here when I'm ready with the changes.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I make pages only display main categories and not sub categories buddha Page & Category Menu Bars 0 Oct 24, 2009 06:53 PM
[SOLVED] Different title color and byline background color for different categories? chiara7 Post-Kicker, -Byline & -Footer 1 Sep 9, 2009 06:01 PM
Categories Count Font Color forthemu Sidebars & Widgets 2 Jul 15, 2009 06:38 AM
disable links in category menu for parent categories (only childless categories link) qcook2000 Page & Category Menu Bars 0 May 15, 2009 09:09 PM
Want to set background-color only under the title of categories widget in the sidebar MarkusM. Sidebars & Widgets 5 Feb 12, 2009 04:45 PM


All times are GMT -6. The time now is 08:04 AM.


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