Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Rotating header + separate headers (http://forum.bytesforall.com/showthread.php?t=14059)

itsjustlife May 6, 2011 05:41 AM

Rotating header + separate headers
 
Juggledad

Currently on Atahualpa 3.6.4 and WordPress 3.1.2.

CSS insert
body.page-id-2 div#imagecontainer {
background-image: url('http://www.itsjustlife.co.uk/wordpress/wp-content/CV_Writer_images/page_511.jpg') !important;
}

My URL is
http://www.itsjustlife.co.uk

I have 3 revolving headers which work fine but would like to put different headers on selected pages, tried your suggestion in a previous thread but won't work.

What am I doing wrong

Thank you

Phil:(

juggledad May 6, 2011 06:04 AM

if you want this to show on page 511, you have to ste the CSS Selector to that page. Right now you have 'body.page-id-2 div#imagecontainer' so this will only apply to page ID '2'.

To make it work on page ID 511 you need to change it to 'body.page-id-511 div#imagecontainer'

itsjustlife May 6, 2011 06:26 AM

Thank you again, tried that but all I get now is a blank header on that page, do I have to refer directly to the header image or just the folder?

Phil

juggledad May 6, 2011 06:44 AM

shut off your caching plugin and clear out the cache.

If you are using CSS to override the header image, you must use the full path to the image.

itsjustlife May 6, 2011 07:41 AM

Hi

Tried that but still blank header.

Any other ideas, thank you for your help

Phil:confused:

juggledad May 6, 2011 08:52 AM

Swap to the default Peekskill and see what happens

itsjustlife May 6, 2011 03:52 PM

Hi

Thank you for following up, you will have to forgive me but still learning, what is the default Peekskill

Thank you again and have a good weekend

Phil

juggledad May 6, 2011 05:38 PM

Sorry, that was an iPad auto spelling correction. Swap to the default permalinks

itsjustlife May 7, 2011 02:56 AM

Hi

Changed to default permalinks but no difference, changed back to custom permalinks.

The code I am using is:
body.page-id-511 div#imagecontainer {
background-image: url('http://www.itsjustlife.co.uk/wordpress/wp-content/cv_writer_images/cv_writer_header2/page_511.jpg') !important;
}

but all I get in page 511 is a blank header

Thank you

Phil

juggledad May 7, 2011 05:12 AM

something is screwy - if you just enter the use for the image, you get a 'Sorry, this page has expired' message. So it maybe something to do with the caching and/or permalinks.

What happens if you temporallary disable ALL plugins?

itsjustlife May 7, 2011 06:20 AM

I have deactivated all plugins, no difference.

juggledad May 7, 2011 06:26 AM

something is causing the 'Sorry, this page has expired' message. it could be something in the .htaccess file in the wordpress root, or an .htaccess file in a higher level directory. it could be the file permissions.

If i enter in the address bar
HTML Code:

http://www.itsjustlife.co.uk/wp-content/themes/atahualpa/images/header/Panorama_Union_Jack.JPG
i see the image, if i enter
HTML Code:

http://www.itsjustlife.co.uk/wordpress/wp-content/cv_writer_images/cv_writer_header2/page_511.jpg
I get the page expired so it s something environmental at your site and something about that file/folder.

Try uploading another image to another location and us that and see if it shows.

itsjustlife May 7, 2011 06:37 AM

See what you mean, I have to go to the hospital now so will look at it when I come back.

Thank you for your help, it is appreciated

Phil

itsjustlife May 7, 2011 02:59 PM

Hi

Tried deleting and re-initiating the files, no difference, its probably so simple we can't see it, anyway will have another go tomorrow.

For the time being have taken the page numbers out

Phil


All times are GMT -6. The time now is 05:50 PM.

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