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 »

Rotating header + separate headers


  #1  
Old May 6, 2011, 05:41 AM
itsjustlife
 
29 posts · Mar 2010
Southampton, England
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
  #2  
Old May 6, 2011, 06:04 AM
juggledad's Avatar
juggledad
 
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  
Old May 6, 2011, 06:26 AM
itsjustlife
 
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  
Old May 6, 2011, 06:44 AM
juggledad's Avatar
juggledad
 
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  
Old May 6, 2011, 07:41 AM
itsjustlife
 
29 posts · Mar 2010
Southampton, England
Hi

Tried that but still blank header.

Any other ideas, thank you for your help

Phil
  #6  
Old May 6, 2011, 08:52 AM
juggledad's Avatar
juggledad
 
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  
Old May 6, 2011, 03:52 PM
itsjustlife
 
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  
Old May 6, 2011, 05:38 PM
juggledad's Avatar
juggledad
 
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  
Old May 7, 2011, 02:56 AM
itsjustlife
 
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  
Old May 7, 2011, 05:12 AM
juggledad's Avatar
juggledad
 
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  
Old May 7, 2011, 06:20 AM
itsjustlife
 
29 posts · Mar 2010
Southampton, England
I have deactivated all plugins, no difference.
  #12  
Old May 7, 2011, 06:26 AM
juggledad's Avatar
juggledad
 
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  
Old May 7, 2011, 06:37 AM
itsjustlife
 
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

Bookmarks

Tags
header, rotating header images

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
HEADER - Different links for rotating headers... contrast101 Header configuration & styling 7 Dec 3, 2010 09:51 AM
3.5.1: Header images always aligning left when rotating headers are on hlietz Header configuration & styling 1 Jul 14, 2010 01:49 PM
[SOLVED] Separate Headers for Posts and Pages arothafel Header configuration & styling 2 May 20, 2010 11:18 AM
[SOLVED] Separate Headers for Posts and Pages arothafel Header configuration & styling 11 May 9, 2010 01:03 PM
separate linking for rotating banners starloft New Versions, & Updating 1 Jul 22, 2009 10:54 AM


All times are GMT -6. The time now is 11:47 PM.


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