Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cart formatting


antimatter

Recommended Posts

Posted

I really need help here. I got the 'demonstration online-shop' message off of my cart but now there is blank space where it used to be. I think the reason for this is because the image that was displayed next to the 'What's new here' message is still there, I just replaced it with an image of te same color as my background. I need to know how to get the middle section of the card to slide all the way to the top so it is even with the left and right side, you can see the cart I am working on at http://revolutionisnowcom.powweb.com, any assistance will be greatly appreciated.

Posted

Start by using a 1x1 pixel background... your's is pretty BIG:

 

table_background_default.gif

 

Then go into default.php and remove the unwanted <tr><td> ... </td></tr>

 

HTH

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

Find what is making this extra empty row with the big image in it:

 

         <tr>

           <td class="pageHeading"></td>

           <td class="pageHeading" align="right"><img src="images/table_background_default.gif" border="0" alt="" width="650" height="150"></td>

         </tr>

Posted

ok I found the section below in the /catalog/default.php file but there was no change in the table when I removed it. Is there another default.php that I need to be looking for?

 

<tr>

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

Posted

I am not sure if that image is part of your style sheet, but did you try refreshing your page or clearing your cache?

 

I also still see in your source what appears to come from default.php

 

      <tr>

       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">

         <tr>

           <td class="pageHeading"></td>

           <td class="pageHeading" align="right"><img src="images/table_background_default.gif" border="0" alt="" width="450" height="275"></td>

         </tr>

       </table></td>

     </tr>

 

Lose that and you lose the space.

Posted

I'm at a loss, I deleted the whole table from the default.php and I checked the stylesheet but didn't find anything relevant to my issue. There must be some other file that needs to be edited.

Posted

It's the categories image and when blank it occupies the same size as your massively huge images when you click on a category.

 

Do you actually mean for those images to be so big? One of the manufacture images is 714 x 516 when I am looking at the product.

Posted

no, I will worry about the size of the other images later that can be changed easily enough. Right now my mail concern is that one particular image, better yet that table. I removed the image but i just get a blank area of the same size. The actual image is only 1 x 1 px, I did that just to see if it would change anything but it didn't, somewhere in the code the image is being told to display in 450 x 274 px but not by any choice of mine. I would just as soon have it not be there at all.

Posted

What you are looking for specifically is the table_background_default.gif this is on the default.php page even though there is not one.

 

Did you try to set it up to allow for missing images and see if that makes it go away?

 

Otherwise, you might be able to code around it so when on the default.php and no category is being displayed and no manufacture then it will not display any image there.

Posted

You guys were right the whole time it was me, I must be vlind. I looked over the default.php again and found the code you mention when I asked this the first time plain as day around the bottom of the script. Once I deleted it the issue was resolved. :P

 

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td class="pageHeading"></td>

<td class="pageHeading" align="right"><img src="images/table_background_default.gif" border="0" alt="" width="450" height="275"></td>

</tr>

</table>

Archived

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

×
×
  • Create New...