Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Mar 2005
    Posts
    92
    Plugin Contributions
    0

    Default Extra space below logo

    Hi ..in IE it looks better but in Firefox it looks horrible. There are three extra rows above my main picture . I want to remove those rows if they are blank.
    I found where I think it is but it doesn't seems to make a difference. I edited:

    includes/templates/CUSTOM_TEMPLATE/templates/tpl_index_default.php but that didnt' do anything.

    the site is www.coffeetree.ca if you want to see what I mean. look at it in both IE & firefox.

    thanks
    tracy

  2. #2
    Join Date
    Jan 2007
    Location
    California
    Posts
    345
    Plugin Contributions
    0

    Default Re: Extra space below logo

    Someone else will have to tell you how shut these off BUT what I can suggest in the interim is to download the Aardvark plugin for FireFox and it will let you see what is in that space:

    The greet:user wrapper or block is there and some others. Don't quote me on the technical name, i.e., wrapper, cuz I don't know the technical terms but Aardvark shows you the names of the different stuff in there. I think this is what you need to remove. I'm too new to tell you HOW to do that but if you see what is there, you may figure it out yourself.

    Use the Developers Tool in the Admin area to find what file that section is in.

    Good luck,
    Cheryl
    Last edited by rush_woman; 27 Jan 2007 at 03:25 AM. Reason: added more info

  3. #3
    Join Date
    Mar 2005
    Posts
    92
    Plugin Contributions
    0

    Default Re: Extra space below logo

    thank you for that ..i downloaded ardvark and check out the space and it didn't tell me anything i didn't already know. (but i may use that tool for other purposes).

    below are the extra rows in tpl_index_default.php, but I don't want then to show up if there's nothing in them. i don't want to change the code too much. doesn't anyone know of a trick to make these rows shorter in height so they don't take up so much space...or eliminate them alltogether if there is no content in them.??


    <tr>
    <td class="pageHeading"><h1><?php echo HEADING_TITLE; ?></h1></td>
    </tr>
    <tr>
    <td class="greetUser"><?php echo zen_customer_greeting(); ?></td>
    </tr>
    <?php if (TEXT_MAIN) { ?>
    <tr>
    <td class="main"><?php echo TEXT_MAIN; ?></td>
    </tr>
    <?php } ?>
    <?php if (TEXT_INFORMATION) { ?>
    <tr>
    <td class="plainBox"><?php echo TEXT_INFORMATION; ?></td>
    </tr>
    <?php } ?>

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

    Default Re: Extra space below logo

    In my firefox, I'm not seeing much space below your logo. The only thing I can adjust it the 5px of padding on the .main_page like this:

    .main_page{
    width: 750px !important;
    background-color: #F9F5DC;
    border-right: 0px solid #9a9a9a;
    border-left: 0px solid #9a9a9a;
    border-bottom: 0px solid #9a9a9a;
    padding: 0 5px;
    }

    Your .swf is taller than your logo, so it seems to make more space between your logo and the stuff below.

    Unless you already edited things, and I'm seeing the better version, I don't see the gap you're referring to.

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

    Default Re: Extra space below logo

    Ah, nevermind, I see what you mean, was looking in the wrong area.

    What version of zen are you using? This one is FULL of tables, and you are right, that is the issue. The newer version uses div's instead.

    However, I think you can modify includes/templates/YOUR_TEMPLATE/tpl_index_default.php without affecting other pages.

  6. #6
    Join Date
    Mar 2005
    Posts
    92
    Plugin Contributions
    0

    Default Re: Extra space below logo

    Hi..yes I've tried editing the tpl_index_default.php in my custom template dir but doesn't seem to make any difference. I am using 1.2.4.1 right now and am starting to plan my upgrade..hopefully i can fix it with that.

    thanks for looking anyways

    t

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

    Default Re: Extra space below logo

    Quote Originally Posted by tracyselena View Post
    Hi..yes I've tried editing the tpl_index_default.php in my custom template dir but doesn't seem to make any difference. I am using 1.2.4.1 right now and am starting to plan my upgrade..hopefully i can fix it with that.

    thanks for looking anyways

    t
    Ah yes, actually you need to edit:

    includes/templates/YOUR_TEMPLATE/tpl_index_product_list.php

    Since you're showing categories on the home page.

  8. #8
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Re: Extra space below logo

    To removed the inch or so of blank space. Rem the first 5 table rows in the file "tpl_index_default.php" with these class id's.
    pageHeading
    greetUser
    main
    plainBox

    Also rem the associated PHP code for each table row.

  9. #9
    Join Date
    Mar 2005
    Posts
    92
    Plugin Contributions
    0

    Default Re: Extra space below logo

    to Stagebrace: I've tried editing those lines, removing them...nothing works.

    to Jettrue: I've looked at includes/templates/YOUR_TEMPLATE/tpl_index_product_list.php
    but not really sure what to edit there.

    Any suggestions?

    tracy

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

    Default Re: Extra space below logo

    Oops, I meant to say includes/templates/YOUR_TEMPLATE/templates/tpl_index_categories.php

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Remove space below Logo
    By psvialli in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Mar 2013, 02:46 PM
  2. Extra space below header image
    By aqswskiing in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Aug 2010, 05:34 PM
  3. Empty space - below logo and below Home & Log in links - how to delete?
    By dabone in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Jan 2009, 01:18 AM
  4. Space below logo..
    By katastrophy in forum Templates, Stylesheets, Page Layout
    Replies: 35
    Last Post: 14 Mar 2007, 01:06 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