Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1
    Join Date
    Jul 2007
    Posts
    31
    Plugin Contributions
    0

    Default White Gap between EZ-Pages Bar and Header

    Hi,
    My site www.footballflashbacks.co.uk has a gap between the EZ-Pages bar and the header/banner.

    Any ideas on how to remove this?

    Cheers
    Jim

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: White Gap between EZ-Pages Bar and Header

    This is an IE quirk and you can search here for several solutions and look at this in your style sheet - but need to determine the quirk to fix
    Code:
    #navEZPagesTop {
    	background-color: #abbbd3;
    	background-image: url(../images/tile_back.gif);
    	font-size: 0.95em;
    	font-weight: bold;
    	margin: 0em;
    	padding: 0.5em;
    	}

  3. #3
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: White Gap between EZ-Pages Bar and Header

    It looks like you may have removed a <br class="clearBoth" /> after the logo in order to resolve this, but now in firefox the layout is broken.

    Add this after the logo instead:

    <div class="clearBoth"></div>

    and then in your css change .clearBoth {clear:both} to this:

    .clearBoth {
    clear:both;
    height:0;
    font-size:0;
    line-height:0;
    margin:0;
    padding:0;
    }

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,713
    Plugin Contributions
    13

    Default Re: White Gap between EZ-Pages Bar and Header

    What I'm seeing now is an incorrect div on line 178 of your page source. You might want to check as to where divs can and cannot go it both php and html. Firefox is a lot more forgiving than IE. But, in this case,
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Jul 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: White Gap between EZ-Pages Bar and Header

    Hi,

    Yes I remember removing it now! It didn't work! Somehow I have managed to get the white space removed but, as you say, it isn't working correctly in firefox!

    Could you please be more specific with your instructions? I am a beginner. When I removed that text before I didn't really know what I was doing, I was just copying something from another post.

    I understand what you are saying, just not exactly where and in which files the extra text needs to go.

    Cheers
    Jim

  6. #6
    Join Date
    Jul 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: White Gap between EZ-Pages Bar and Header

    I have just put the <div class="clearBoth"></div> code at the bottom of the tpl_header.php file, was that right? It has seemed to work except that the EZ-pages links are not where they should be, but are in the correct place in IE.
    Any ideas?

    I haven't done the 2nd part of what you told me to do yet - I don't really understand it.

    Thanks
    Jim

  7. #7
    Join Date
    Sep 2005
    Location
    Hong Kong
    Posts
    307
    Plugin Contributions
    0

    Default Re: White Gap between EZ-Pages Bar and Header

    Quote Originally Posted by jimmybob View Post
    I haven't done the 2nd part of what you told me to do yet - I don't really understand it.

    Thanks
    Jim
    It means that you should add those stuff in your stylesheet.

    See https://www.zen-cart.com/tutorials/index.php?article=43 and https://www.zen-cart.com/tutorials/i...hp?article=147 for some basic info on stylesheets.

    HTH,
    Shirley :)

  8. #8
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: White Gap between EZ-Pages Bar and Header

    You have the <div class="clearBoth"></div> in the wrong location.

    Move it to just after the LOGO only. Right after

    <!--eof-header logo and navigation display-->

    Then open up includes/templates/YOUR_TEMPLATE/css/stylesheet.css and follow the replace the .clearBoth like I mentioned above.

  9. #9
    Join Date
    Jul 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: White Gap between EZ-Pages Bar and Header

    Thanks I have done that bit too now - It didn't seem to do anything (but maybe I'll just never know!)

    I just have two problems now:

    1) On firefox the EZ-Pages links are not in the right place

    2) There is no gap/space between products that are listed (their pictures are touching)

    Thanks
    Jim

  10. #10
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: White Gap between EZ-Pages Bar and Header

    Quote Originally Posted by jimmybob View Post
    Thanks I have done that bit too now - It didn't seem to do anything (but maybe I'll just never know!)

    I just have two problems now:

    1) On firefox the EZ-Pages links are not in the right place

    2) There is no gap/space between products that are listed (their pictures are touching)

    Thanks
    Jim
    1) See my post above

    2) You can add this to your stylesheet (doesn't matter where you add it):

    .productListing-data {padding:.5em;}

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v138a Large Gap in between header image(logo) and my nav bar...
    By allanjhn in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Sep 2012, 06:37 PM
  2. v150 Gap Between header and navigation bar (tried fix)
    By Baron5 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Jan 2012, 12:34 AM
  3. gap between header and navigation bar
    By kwong016 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Jun 2009, 08:15 PM
  4. white gap between header and tile_back.gif
    By abs007 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 May 2009, 12:32 AM
  5. White gap between top nav and header_bg.jpg
    By Solarpitch in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 24 Aug 2008, 12:42 AM

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