Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Left colum shifting down?


rachael_web86

Recommended Posts

Posted

Hey guys, wondering if any of you could help me please =)....

 

If you take a look at http://pretavoir.co.uk/prescription-frames-c-26_49.html

 

You can see my left colum is half way down the page, but on any other page it's at the top of the page. It only started shifting down as more items where added?

 

Any1 any ideas as to why this is happening?!

 

Many thanks in advance =) :thumbsup:

Posted

I think your left column is centering try putting a valign="top" into it's parent cell tag eg;

 <td valign="top" width="170">

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Posted

Hi Rachael,

 

You have several errors in the template.

 

- The template is designed to be centered but the code was changed to make it go to the left

- The top banner is a different width than the table below it

- When you click 'Home' The fly in box text appears behind your product information and partially blocks the navigation bar

- The gallery appears on top of another box partially shown behind it.

 

 

The problem you are experiencing is not an OSC problem but a template problem. I would suggest contacting the template creator for support on this or hire someone to make adjustments to the template code.

 

 

 

Chris

Posted

I think your left column is centering try putting a valign="top" into it's parent cell tag eg;

 <td valign="top" width="170">

 

 

Thanks Xpajun, where exactly do I put this code though?

 

Many thanks,

 

Rachael

Posted

It's caused by the table you added to your index.php page. The one with the 3 rows of glasses.

 

You have added your table in the wrong section of code

 

<!-- body_text //-->

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

<tbody><tr>

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

 

</table></td>

</tr>

<tr>

<td></td>

</tr>

<tr>

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

<tbody><tr>

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

 

The code in red is where you placed your table in the middle of the <td>

 

You can't add a table there.

 

Remove the table and move it up where it belongs.

Posted

Hi Rachael,

 

You have several errors in the template.

 

- The template is designed to be centered but the code was changed to make it go to the left

- The top banner is a different width than the table below it

- When you click 'Home' The fly in box text appears behind your product information and partially blocks the navigation bar

- The gallery appears on top of another box partially shown behind it.

 

 

The problem you are experiencing is not an OSC problem but a template problem. I would suggest contacting the template creator for support on this or hire someone to make adjustments to the template code.

 

 

 

Chris

 

Thanks for your reply Chris - It isn't actually a template as such, I've created & designed it all myself from scratch. So I'm fully aware there will be a few small errors. I've fixed the top banner so it's the same size as the main table. The fly in box has only just been added, something which I know I've got to fix. But none of these minor errors are causing the left column to shift down?

Posted

It's caused by the table you added to your index.php page. The one with the 3 rows of glasses.

 

You have added your table in the wrong section of code

 

<!-- body_text //-->

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

<tbody><tr>

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

 

</table></td>

</tr>

<tr>

<td></td>

</tr>

<tr>

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

<tbody><tr>

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

 

The code in red is where you placed your table in the middle of the <td>

 

You can't add a table there.

 

Remove the table and move it up where it belongs.

 

Thank you so much Lola =) You're a life saver... Now I've got the column back up where it belongs =) However all items have moved down & have tried playing about with table to fix it. Would you be able to tell me where I should fix the code please?

 

Much appreciated,

 

rachael

Posted

Could anybody please help me as to where I have to insert this code;

 

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

 

To my index page so my items display in the correct place on my products page?

 

Many thanks,

 

Rach

Posted

Send me the code for your index.php.

 

Or just explain where you are inserting your table. The proper way to modify your index if you are not so familiar with php and html is to add content to your index through your language folder

 

includes>languages>english>index.php

 

define('TEXT_MAIN', 'Put your table here');

 

I suggest putting an unaltered index.php back in your folder and starting all over again.

Archived

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

×
×
  • Create New...