Page 1 of 2 12 LastLast
Results 1 to 10 of 24

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Removing space between header and rest of page

    It's actually tpl_header.php, and it's in includes/templates/template_default/common

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Removing space between header and rest of page

    Does also depend on whether you have custom template
    which may have its own tpl_header.php file

  3. #3
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: Removing space between header and rest of page

    Hmm thanks for that. I have got a includes/templates/MYTEMPLATE/common/tl_header.php
    So i found the code and removed it but nothing happened. So i tried it on the default_template/common/tl_header.php and still no luck.

    Any other ideas please

    I also have another problem. For some reason when I refresh my sites home page sometimes the font size and template looses its format and increases in size. Sometimes i refresh the page 10 times to get back to its original format then randomly it will change again when i refresh it.

    Any idea as to what the prob is

    url is ravsappliances.com

    cheers

  4. #4
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: Removing space between header and rest of page

    Ok the problem mentioned above regarding the loss of format only happens in mozilla.

  5. #5
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Removing space between header and rest of page

    Visited site/url to ascertain which is current template..
    404 forbidden error received..

  6. #6
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: Removing space between header and rest of page

    Hi Sorry
    its
    ravsappliances.com/shop

    do you know why it gives a error if you type in ravsappliances.com

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Removing space between header and rest of page

    You have to know which <br class="clearBoth" /> to remove. It's the SECOND occurrence, I think.

    And don't remove it - just COMMENT it out so that it's rendered inoperative, but stays in the code. Later, if you invoke banners, you may need to re-invoke it - then you just look for the COMMENT, eg:

    <!-- DISABLED BY (your name, or some form of id method here) <br class="clearBoth" /> -->
    20 years a Zencart User

  8. #8
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: Removing space between header and rest of page

    HI
    Thanks for the reply. I deleted the tag prior to knowing its better to do it by cancelling it out. so i have uploaded a new tpl_heade.php and cancelled out the 2nd tag.
    it worked but only removed abou 2 px worth of the white gap area. i would like to remove the whole white gap if possible.

    Do you mind having a look at ravsappliances.com/shop and have a look to to see if there is a solution

    cheers

  9. #9
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    97
    Plugin Contributions
    0

    Default Re: Removing space between header and rest of page

    Silly question but I have done it before so one never knows....did you upload the correct file to the corect folder?

    Quote Originally Posted by abs007 View Post
    Hmm thanks for that. I have got a includes/templates/MYTEMPLATE/common/tl_header.php
    So i found the code and removed it but nothing happened. So i tried it on the default_template/common/tl_header.php and still no luck.

    Any other ideas please

    I also have another problem. For some reason when I refresh my sites home page sometimes the font size and template looses its format and increases in size. Sometimes i refresh the page 10 times to get back to its original format then randomly it will change again when i refresh it.

    Any idea as to what the prob is

    url is ravsappliances.com

    cheers

  10. #10
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: Removing space between header and rest of page

    HI
    Just double checked and it looks like i have got the right file just aint making any changes. i have 3 templates, 1 is the classic-2 is another one which i dont like and the 3rd one is the custom one which i work off- Ive changed them all just to make sure and it hasnt made a difference

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Removing space between header pictures
    By Belinda in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Feb 2011, 08:35 AM
  2. Firefox 3.5 shows space between header and rest of page
    By parliamentfunkadelic in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Sep 2009, 07:58 PM
  3. removing the space between sidebox header image and content
    By davowave in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Mar 2009, 12:19 AM
  4. Space between header and main page
    By leest003 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 30 Nov 2008, 05:33 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