Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Centering footer on front page


zegar911

Recommended Posts

Posted

Hello all,

I am very new to OSC, and trying to learn from addsON and other posts, now i have problem that my footer is not center ONLY ON HOMEPAGE, when i go in category or any other page everything is align centre only when i hit HOME it goes on right side of screen, please help, its my first post, hope will get reply,

 

Thanks a lot,

Zegar,

Posted

Have you tried to compare the code where the footer is called from the index.php page with the code from say products_info.php.

REMEMBER BACKUP, BACKUP AND BACKUP

Posted

thanks for your reply, i am trying to check that but couldn't find footer in product info, can you please explain a little further, i only have problem in main page, when i go any product, shipping policy or check out all are in centre, please help me out to fix it,

Thanks for your help,

Regards

 

Zegar

Posted

Compare it with the code on the shipping policy page if that works. I suspect that there is only a minor change on your index.php page. The other option is to post the code from your index page and let us see it. It is easier to look at the code to find errors.

REMEMBER BACKUP, BACKUP AND BACKUP

Posted

Compare it with the code on the shipping policy page if that works. I suspect that there is only a minor change on your index.php page. The other option is to post the code from your index page and let us see it. It is easier to look at the code to find errors.

 

thanks for following up. i am comparing it with different file they all look same

 

<!-- body_eof //-->

 

<!-- footer //-->

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

 

am i looking in right place? also i have categories in front page, can it cause any problem??

Thanks for your support,

 

Zegar

Archived

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

×
×
  • Create New...