Forums / Templates, Stylesheets, Page Layout / Extra space below logo

Extra space below logo

Locked

Started by tracyselena on 27 Jan 2007, 1:14 AM · Views: 2,967

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
27 Jan 2007, 1:14 AM
#1
tracyselena avatar

tracyselena

New Zenner

Join Date:
Mar 2005
Posts:
86
Plugin Contributions:
0

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 https://www.coffeetree.ca if you want to see what I mean. look at it in both IE & firefox.

thanks
tracy

27 Jan 2007, 2:22 AM
#2
rush_woman avatar

rush_woman

Zen Follower

Join Date:
Jan 2007
Location:
California
Posts:
328
Plugin Contributions:
0

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

Cheryl

28 Jan 2007, 3:08 AM
#3
tracyselena avatar

tracyselena

New Zenner

Join Date:
Mar 2005
Posts:
86
Plugin Contributions:
0

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 } ?>
28 Jan 2007, 3:15 AM
#4
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

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.

28 Jan 2007, 3:29 AM
#5
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

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.

28 Jan 2007, 4:18 AM
#6
tracyselena avatar

tracyselena

New Zenner

Join Date:
Mar 2005
Posts:
86
Plugin Contributions:
0

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

28 Jan 2007, 4:38 AM
#7
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Extra space below logo

tracyselena:

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.

28 Jan 2007, 5:08 AM
#8
stagebrace avatar

stagebrace

Totally Zenned

Join Date:
Jan 2005
Location:
Tennessee
Posts:
985
Plugin Contributions:
0

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.

31 Jan 2007, 3:08 AM
#9
tracyselena avatar

tracyselena

New Zenner

Join Date:
Mar 2005
Posts:
86
Plugin Contributions:
0

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

31 Jan 2007, 3:43 AM
#11
stagebrace avatar

stagebrace

Totally Zenned

Join Date:
Jan 2005
Location:
Tennessee
Posts:
985
Plugin Contributions:
0

Re: Extra space below logo

  1. Please make sure you are editing file "tpl_index_default.php" in the proper template. Go to your admin and verify the name of the active Template Directory.
  2. Attach the edited file "tpl_index_default.php" to this thread. I would like to take a look at it.
  3. Copy that same file to your active Template Directory.

We will go from there.

31 Jan 2007, 1:53 PM
#12
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Extra space below logo

stagebrace:

  1. Please make sure you are editing file "tpl_index_default.php" in the proper template. Go to your admin and verify the name of the active Template Directory.
  2. Attach the edited file "tpl_index_default.php" to this thread. I would like to take a look at it.
  3. Copy that same file to your active Template Directory.

We will go from there.

No, actually she needs to edit tpl_index_categories.php, since she has her CATEGORIES on the home page. She already tried to edit the one you're referring to, but since she has categories on her home page, she needs to edit tpl_index_categories.php.

31 Jan 2007, 3:56 PM
#13
stagebrace avatar

stagebrace

Totally Zenned

Join Date:
Jan 2005
Location:
Tennessee
Posts:
985
Plugin Contributions:
0

Re: Extra space below logo

Jettrue, got it. I see where that part of the code is identical on both files. Your corrections are well deserved. I think we will both agree the owner needs to move to 1.3.7 without delay.

Tracy, the bugs in 1.2.4.1 may compromise your customers privacy.