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 » FAQ - Atahualpa » Header »

How To: keep the blog title over the header image when using fade in/out


  #1  
Old Jan 11, 2012, 02:27 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
How To: keep the blog title over the header image when using fade in/out

NOTE: this is no longer needed as of version 3.7.18)

(Thanks to lmilesw for this tip)
Due to the way the fade in/out jscript code works, the blog title and tag line will disappear almost immediately. But here is a trick to keep the blog title over the header image. The way it is done is give the 'wrapper' a 'position: relative;' then use the %logo and position it.

1) Normally to cause the blog title to overlay the header image you go to ATO->Header Image->Overlay Blog TITLE over Header Image(s)? and set it to YES. (same thing for the tabline). In this case set it to 'NO'

2) Go to 'ATO->Style & edit HEADER AREA->Configure Header Area', enter '%logo' right before %image.

3) go to 'ATO->Style & edit HEADER AREA->Show Logo Image?' and blank it out.

4) go to 'ATO->Style & edit HEADER AREA->Show Blog Title?' and set it to yes.

5) go to 'ATO->Style & edit HEADER AREA->Show Blog Tagline?' and set it to yes.

6) finally add the following to ATO->Add HTML/CSS Inserts->CSS Inserts
HTML Code:
#wrapper {position: relative;}
table#logoarea {
    border-spacing: 0;
    left: 30px;
    position: absolute;
    top: 34px;
    width: 100%;
    z-index: 99;
}
you will want to play with the numbers to get it where you want it.

And that's it! - Don't forget to thank Larry if you use this.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Sep 8, 2014 at 12:14 PM.
  #2  
Old Mar 16, 2012, 01:54 PM
JaneFancher
 
16 posts · Nov 2011
You're going to earn a donation, yet, fella! (When I've got this site up and running...believe it!)

This is close, but not quite what I need. I see it conceptually, but unfortunately, I don't want WP to create my title, I want to use a transparent PNG to overlay the rotating images. I've got the "logo" on top of the header, so I can't use that wrapper.

Can you use the "overlay header image" option in a similar manner? (I got my png to work right on the first image using this code:

<div id="header_title">
<img src="/TheCaptainAndLime/wp-content/themes/atahualpa/images/HotNTitle.png">
</div>

but then it disappears.)

I'm going to go ahead and switch the site over to Atahualpa...it's usable right now, just not how I want it, yet (basically, I've got the title incorporated into the images, which is what I'd like to get rid of.

http://www.janefancher.com/TheCaptainAndLime/

Thanks!
  #3  
Old Mar 16, 2012, 02:24 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
put the code
HTML Code:
<div id="header_title"> 
<img src="http://www.janefancher.com/TheCaptainAndLime/wp-content/themes/atahualpa/images/HotNTitle.png">
</div>
before the %logo then use
HTML Code:
div#header_title {
    border-spacing: 0;
    left: 30px;
    position: absolute;
    top: 34px;
    width: 100%;
    z-index: 99;
}
change the numbers to match what you want
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Mar 16, 2012, 03:20 PM
JaneFancher
 
16 posts · Nov 2011
Thou art brilliant! Worked like a charm. I'll get my background layers saved without the title, and it'll be just what I want!

Question: Does the "z-index" attribute put it above all other layers? i.e. is that what puts the div box on top of the headers?

Thanks again, and you'd better believe I'm sending a donation. Wish it c/b more, but know you've been incredibly helpful (and I'm sure I'll be back...sigh. :D)
  #5  
Old Mar 16, 2012, 03:45 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Yes the z-index controls what layer of the stack an element shows. The higher the number the more on top it is
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jul 11, 2012 at 06:12 AM.
  #6  
Old Mar 17, 2012, 09:42 AM
JaneFancher
 
16 posts · Nov 2011
Yipes! Suddenly my site is showing white behind the menus and in an edge around the body. I don't remember changing anything. It s/b black. I have background: #000000; as my body default, but that doesn't seem to change anything (I tried changing the color on that and it didn't change anything on the page. I also tried background-color, but that didn't do anything either.)

Anyway: site is: http://www.janefancher.com/TheCaptainAndLime/

also, oh wise one, I'm probably asking the impossible, but is there anyway to link the overlay title png to the header images table cell? When you squeeze the table and the menu tabs go to two lines, the absolute positioning screws up the relative position of the header image and the title image.

Thanks as always!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create more space between the blog title and the header image? strikers041 Header configuration & styling 3 Nov 20, 2010 04:01 AM
How to control blog title over header image joe hark Header configuration & styling 2 Nov 17, 2010 05:12 AM
Fade in/out header Overlayed Blog Title/Tagline Style jj001 Header configuration & styling 1 Sep 5, 2010 06:50 PM
Header image between Blog Title/Sub Title and search box bseppa Header configuration & styling 1 Mar 15, 2009 02:39 PM


All times are GMT -6. The time now is 06:15 AM.


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