|
#1
May 6, 2011, 06:41 AM
|
|
|
29 posts · Mar 2010
Southampton, England
|
|
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
|
#2
May 6, 2011, 07:04 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
May 6, 2011, 07:26 AM
|
|
|
29 posts · Mar 2010
Southampton, England
|
|
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
|
#4
May 6, 2011, 07:44 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5
May 6, 2011, 08:41 AM
|
|
|
29 posts · Mar 2010
Southampton, England
|
|
Hi
Tried that but still blank header.
Any other ideas, thank you for your help
Phil
|
#6
May 6, 2011, 09:52 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Swap to the default Peekskill and see what happens
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7
May 6, 2011, 04:52 PM
|
|
|
29 posts · Mar 2010
Southampton, England
|
|
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
|
#8
May 6, 2011, 06:38 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Sorry, that was an iPad auto spelling correction. Swap to the default permalinks
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#9
May 7, 2011, 03:56 AM
|
|
|
29 posts · Mar 2010
Southampton, England
|
|
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
|
#10
May 7, 2011, 06:12 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#11
May 7, 2011, 07:20 AM
|
|
|
29 posts · Mar 2010
Southampton, England
|
|
I have deactivated all plugins, no difference.
|
#12
May 7, 2011, 07:26 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#13
May 7, 2011, 07:37 AM
|
|
|
29 posts · Mar 2010
Southampton, England
|
|
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
|
#14
May 7, 2011, 03:59 PM
|
|
|
29 posts · Mar 2010
Southampton, England
|
|
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
|
|