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 » Header configuration & styling »

[SOLVED] catagory code incorrect

Old Sep 25, 2012, 08:24 AM
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?
Old Sep 25, 2012, 08:33 AM
lmilesw's Avatar
10,176 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
HTML Code:
body.category div#my-imagecontainer
HTML Code:
body.category-projects div#my-imagecontainer
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 08:36 AM.
Old Sep 25, 2012, 11:11 AM
55 posts · Sep 2012
Perfect! Thank you!


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 10:06 AM
% sign after date on posts viewed from a catagory scidmail Atahualpa 3 Wordpress theme 1 Nov 7, 2010 10:20 PM
Display the posts within a catagory as my Homepage bloggersmarket Page & Category Menu Bars 1 Apr 15, 2010 07:46 AM
[SOLVED] Link from Catagory directly to the post Imawebgirl Atahualpa 3 Wordpress theme 2 Oct 24, 2009 08:57 PM

All times are GMT -6. The time now is 02:53 PM.

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