Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

White Space


pacman6570

Recommended Posts

Posted

You'll get more "bang for your buck" if you change this code:

 

            <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

to:

 

<!-- commented out
           <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
//-->

 

You changed the image name in that line from the original code, but you left the height and width as it was - Thus the extra space...

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

You'll get more "bang for your buck" if you change this code:

 

            <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

to:

 

<!-- commented out
           <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
//-->

 

You changed the image name in that line from the original code, but you left the height and width as it was - Thus the extra space...

:blush:

Posted

Hi I tried to comment it out as per suggestion but it stays the same

From the page source:

 

         <td class="pageHeading" align="right"><img src="images/pixel_trans.gif" border="0" alt="" width="100" height="80"></td>

 

Nothing has changed despite what you think...

>_<

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

>_<

From the page source:

 

         <td class="pageHeading" align="right"><img src="images/pixel_trans.gif" border="0" alt="" width="100" height="80"></td>

 

Nothing has changed despite what you think...

>_<

 

Hi I do not know where to find this above code can you assist?Please

Posted

>_<

 

Hi I do not know where to find this above code can you assist?Please

If you go to your home page and using your mouse, select the word welcome and everything before it. You will see a big highlighted square in the area you want to get rid of. That square is the image you need to get rid of or make it 1x1 pixel.

The code for this image in in index.php. Open that file in your text editor and search for the code that Germ posted. Comment out the image and the white area will go away.

 

Tim

Posted

The line you need to change is about 10 lines before this code:

 

            <td class="main"><?php echo tep_customer_greeting(); ?></td>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

:thumbsup:

The line you need to change is about 10 lines before this code:

 

            <td class="main"><?php echo tep_customer_greeting(); ?></td>

 

 

Thank you very much. :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...