Forums / Templates, Stylesheets, Page Layout / Remove space in the top of middle column

Remove space in the top of middle column

Locked

Views: 1,295

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
11 Feb 2007, 4:35 AM
#1
eaglewu avatar

eaglewu

New Zenner

Join Date:
Jan 2007
Posts:
82
Plugin Contributions:
0

Remove space in the top of middle column

Hello,

There is a space in the top of my feature product. Can anyone tell me how to remove that.

http://www.hotdealspot.net/

11 Feb 2007, 6:13 AM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Remove space in the top of middle column

In your custom tpl_index_default.php, delete these lines of code:

<h1 id="indexDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
``` and ```
<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
<?php
/**
 * get the Define Main Page Text
 */
?>
<div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
<?php } ?>
``` (for the second section, you could also just turn off the defined main page from Admin rather than delete the code)

Neville
An assumption is what you arrive at when you get tired of thinking...

11 Feb 2007, 6:48 AM
#3
eaglewu avatar

eaglewu

New Zenner

Join Date:
Jan 2007
Posts:
82
Plugin Contributions:
0

Re: Remove space in the top of middle column

Thank you.

11 Feb 2007, 7:08 AM
#4
eaglewu avatar

eaglewu

New Zenner

Join Date:
Jan 2007
Posts:
82
Plugin Contributions:
0

Re: Remove space in the top of middle column

The problem is solved. But, the top of left sidebox and middle box is not aligned. Try to remove the margin but failed. I set the margin-top =0, but still not good enough.

.centerBoxWrapper {
border: 2px solid #800080;
height: 1%;
margin-bottom:4px;
}