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 »

Page Specific Logos


  #1  
Old Apr 8, 2009, 01:50 AM
drewpasmith
 
18 posts · Mar 2009
Page Specific Logos

After Flynn's fabulous help with page specific header images and titles, I have one last page specific question:

Is there any way I can use a CSS insert to have a different logo on one page?

Cheers,

Drew
  #2  
Old Apr 8, 2009, 05:50 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You could turn the logo off altogether (At A. Theme Options -> Header -> Show Logo Image?) and work with background images

HTML Code:
td.logoarea-logo {
width: 80px;  /* setting a global width for that cell on all pages */
background: url(/wp-content/themes/atahualpa/images/defaultlogo.gif);
}
body#body-page-XXX td.logoarea-logo {
background: url(/wp-content/themes/atahualpa/images/otherlogo.gif);
}
XXX = ID of that page

The logo wouldn't be clickable though, also no ALT tag
  #3  
Old Apr 9, 2009, 06:16 AM
drewpasmith
 
18 posts · Mar 2009
Hi Flynn,

Thanks for this.

Where would I insert the code? In the HTML Inserts: Header section or in the CSS Inserts?

Cheers,

Drew
  #4  
Old Apr 9, 2009, 06:30 AM
drewpasmith
 
18 posts · Mar 2009
Just to clarify,

I've tried it in the HTML box and I get the problem you see at the site: http://wordpress.carmenview.com/

The HTML is read as text and inserted at the top of the page.

Cheers,

Drew
  #5  
Old Apr 9, 2009, 01:57 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You'd insert it at HTML/CSS Inserts -> CSS Insert
  #6  
Old Apr 15, 2009, 02:47 AM
drewpasmith
 
18 posts · Mar 2009
Hi Flynn,

Did as you suggested.

I left the logo field blank and inserted the following code in the CSS insert field:

Code:
td.logoarea-logo {
width: 300px; 
background: url(/wp-content/themes/atahualpa332/images/CARMEN_Logo_Band_final.png) no-repeat left;
}
body#body-page-5 td.logoarea-logo {
width: 300px;
background: url(/wp-content/themes/atahualpa332/images/CARMENU_Logo_Band_final.png) no-repeat left;
}
The Logo area is now blank on all pages with no background.

If I leave a logo activated, obviously it appears on all pages but it also appears on page 5 sitting above the background shown in the CSS code above.

Any idea what gives?

Drew

P.S Just clearing a donation with the bosses
  #7  
Old May 4, 2009, 01:01 AM
drewpasmith
 
18 posts · Mar 2009
Hi All,

Just wanted to let you know that I have partially solved the issue of separate logos for each page using the following code:

Code:
table#logoarea {
background: url(/wp-content/themes/atahualpa332/images/XXXXXXX.jpg) no-repeat left;
}

body#body-page-5 table#logoarea {
background: url(/wp-content/themes/atahualpa332/images/XXXXXXX.jpg) no-repeat left;
}
The only problem I now have is that in Mac Firefox and IE 8, the background/logo doesn't show. In all other browsers it does.

Any ideas?

Cheers,

Drew

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling sidebar for specific post-page vi8084 Sidebars & Widgets 3 Mar 10, 2010 04:36 PM
Changing padding for a specific page Eric Bobrow Header configuration & styling 15 Nov 20, 2009 05:23 AM
Specific image rotation on page? blueprairie Header configuration & styling 3 Aug 8, 2009 03:12 PM
Logos in Footer Steve_T Atahualpa 3 Wordpress theme 2 Feb 22, 2009 05:18 AM
How to disable sidebar(s) for specific page/page? gesman Sidebars & Widgets 3 Feb 8, 2009 09:05 PM


All times are GMT -6. The time now is 01:48 PM.


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