Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] catagory code incorrect


  #1  
Old Sep 25, 2012, 07:24 AM
westpro
 
55 posts · Sep 2012
Received outstanding support help in creating static headers for pages in the Atahualpa theme.
One last detail . . . there are 7 menu items on the site - 6 are pages and one is a category. In the css code the pages have codes that are express as:

body.page-id-4 div#my-imagecontainer {
background: url('http://www.clbengineers.com/wp-content/uploads/2012/09/WaterPlantHeader-for-pages.jpg') top center no-repeat;
}

However, for the category page I entered this code and I am sure I have not identified the category in proper css.

body.page-cat-3 div#my-imagecontainer {
background: url('http://www.clbengineers.com/wp-content/uploads/2012/09/RefineryPageHeader.jpg') top center no-repeat;
}

could I please get one last bit of help in writing this category code properly?
Thanks,
Westpro
  #2  
Old Sep 25, 2012, 07:33 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
If you look at the source code and search for "body class" (without the quotes) you will see there are several classes you could use depending on what you want to affect.
It could be
HTML Code:
body.archive div#my-imagecontainer
or
HTML Code:
body.category div#my-imagecontainer
or
HTML Code:
body.category-projects div#my-imagecontainer
or
HTML Code:
body.category-3 div#my-imagecontainer
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by lmilesw; Sep 25, 2012 at 07:36 AM.
  #3  
Old Sep 25, 2012, 10:11 AM
westpro
 
55 posts · Sep 2012
Perfect! Thank you!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Link ellipsis at the end of articles on catagory pages littlenfiesty Post-Kicker, -Byline & -Footer 3 Apr 13, 2012 09:06 AM
% sign after date on posts viewed from a catagory scidmail Atahualpa 3 Wordpress theme 1 Nov 7, 2010 09:20 PM
Display the posts within a catagory as my Homepage bloggersmarket Page & Category Menu Bars 1 Apr 15, 2010 06:46 AM
[SOLVED] Link from Catagory directly to the post Imawebgirl Atahualpa 3 Wordpress theme 2 Oct 24, 2009 07:57 PM


All times are GMT -6. The time now is 09:13 PM.


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