Hi Juggledad,
I'm trying to sort this out also.
I have 4 pages so far:
Static Home page (<body class="home page page-id-18 page-template-default">)
Blog page (<body class="blog">)
For Garden Centers page (<body class="page page-id-14 page-template-default">)
A Test blog page (<body class="single single-post postid-49 single-format-standard">)
I want
different header images for each, but I want to specify for each page which image I want.
In Style and Edit Area I put:
<div id="header-image-div>%image</div>
<div id="page-menu-div">%page-center</div>
First of all, do all images still need to be in Atahualpa/images/header? or can they be in the upload folder? Does it matter?
right now I have a "dummy" image in the header folder, and the rest in the wordpress uploads folder, as I wasn't sure. The dummy displays just fine, and says on it "from atahualpa/images/header folder", so I could see which image was being displayed.
Then, in the css inserts, for the blog page I have:
/*--------------------------------*/
/* blog header image */
/*
NOT WORKING */
/*--------------------------------*/
body.blog div#header-image-div {
display: block;
width: 990px;
height: 375px;
background:
url('http://youcangrowthat.com.s52126.gridserver.com/wp-content/uploads/bg_blog_pagetop.jpg')
top center no-repeat
important!;
}
/* -------------------------------------------------------*/
/* background image for page menus */
/*
THIS IS WORKING, but for all pages */
/* -------------------------------------------------------*/
div#page-menu-div {
width: 990px;
height: 24px;
background:
url('http://youcangrowthat.com.s52126.gridserver.com/wp-content/uploads/ycgt_bgmenu.jpg')
top center no-repeat
;
}
/* -------------------------------------------------------*/
/* background image for sidebars and content */
/* -------------------------------------------------------*/
/*-------------------*/
/* home page - id 18 */
/* THIS IS WORKING for all pages */
/*-------------------*/
tr#bodyrow {
width: 990px;
height: 1086px;
background:
url('http://youcangrowthat.com.s52126.gridserver.com/wp-content/uploads/ycgt_bgbottom.jpg')
top center no-repeat
;
}
/* blog page */
/* NOT WORKING */
body.page-id-12 tr#bodyrow {
width: 990px;
background:
url('http://youcangrowthat.com.s52126.gridserver.com/wp-content/uploads/bg_blog_pagebottom.jpg')
top center no-repeat
;
}
I think it's referencing specific pages (and bodyrow) that is the problem, and I can't tell you all the different variations I've tried. I looked at the post for
http://forum.bytesforall.com/showthr...hlight=page-id and
http://forum.bytesforall.com/showthr...der+image+page among others, but I can't quite get it right.
the site (in progress) is
http://youcangrowthat.com.s52126.gridserver.com/
Ignore the ugly sidebars - that will be fixed if I can get the correct images to display.
Can you straighten me out?