Results 1 to 10 of 23

Hybrid View

  1. #1
    Join Date
    Jul 2004
    Location
    Las Vegas
    Posts
    477
    Plugin Contributions
    0

    Default Header logo ovelapping header bar, how do I do it??

    I want the header image logo.gif to overlap the header bar as an design element to give the perception that the film is rolling out of the browser.

    I have tried many different ways but I get odd result like the image moves up and I get the effect I want but then there a huge gap where the logo is vs. the columns, or the image and space is correct but the category images go to the top as well.

    http://photographicbattery.com/

    What are some ways that I could accomplish this.

    Thanks in advanced
    avel
    User of zencart

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Header logo ovelapping header bar, how do I do it??

    Instead of having the logo as a foreground image in #logo, make it the background image for #headerWrapper. Add the blue bar to the top of the background image with the film "covering" it, and make #navMainWrapper have no background-image or background-color.

    You will probably need to specify the height of #headerWrapper and change #logo or #logoWrapper to display: none;.

  3. #3
    Join Date
    Jul 2004
    Location
    Las Vegas
    Posts
    477
    Plugin Contributions
    0

    Default Re: Header logo ovelapping header bar, how do I do it??

    Okay I got it worked out however now I have another problem.. The header navigation bar in under the image and is not usable. How could I fix this.

    I tried using the z-index attribute with it set to 1000 on #navMain so that its <div> would be on top of the logo image however it didnt work.


    what next??
    User of zencart

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Header logo ovelapping header bar, how do I do it??

    You didn't follow my suggestion. You have the logo as a foreground image covering the whole header navbar. Find or add these declarations in your stylesheet and edit them to look as shown:
    Code:
    #headerWrapper {
    	margin: 0em;
    	padding: 0em;
    	background-image: url(../images/logo.gif);
    	}
    
    #logoWrapper{
    	background-color: transparent;
    	float: left;
    	height: 147px;
    	}
    
    #logo {
    	display: none;
    	}
    Separate #navMainWrapper into its own declaration and edit the background like this:
    Code:
    #navMainWrapper {
    	margin: 0em;
    	background-color: transparent;
    	padding: 0.5em 0.2em;
    	font-weight: bold;
    	color: #ffff00;
    	height: 2em;
    	}

  5. #5
    Join Date
    Jul 2004
    Location
    Las Vegas
    Posts
    477
    Plugin Contributions
    0

    Default Re: Header logo ovelapping header bar, how do I do it??

    Quote Originally Posted by gjh42 View Post
    You didn't follow my suggestion.
    Its not that your suggestion wasnt good.. I really just had a hard time understanding your suggestion and how to do it.Mental block on my end.

    I am going to try your suggestion right now.. I like that you actually showed me what you meant. It helps me..

    Avel
    User of zencart

  6. #6
    Join Date
    Jul 2004
    Location
    Las Vegas
    Posts
    477
    Plugin Contributions
    0

    Default Re: Header logo ovelapping header bar, how do I do it??

    I tried your suggestion and it didn't create the look I wanted. The image is a gif with a white transparency so that the film can cover the header bar to give it the effect of rolling out of the browser onto the banner image. Its does the job but not quite the effect I am going for..

    Thank you though. If you have an idea on how to bring out my header navigation the is hiding behind my image please share it.

    Thank you,

    Avel
    User of zencart

 

 

Similar Threads

  1. How to get rid of main logo image link in the header bar area?
    By aaronjmorgan in forum General Questions
    Replies: 2
    Last Post: 7 May 2014, 02:46 AM
  2. logo integrated into header bar
    By rogisf2000 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 7 Nov 2008, 08:27 PM
  3. How do i make a space between my navigational bar and header bar
    By hoygs740 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Sep 2008, 06:03 PM
  4. Logo/Header bar order
    By nacidoporfe in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Jun 2007, 06:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg