Contributions

Features (Category Index)
Search: 

osC-CenterShop v2.1 for MS2

osC-CenterShop v2.1 for MS2

Updated for use with osCommerce v2.2 MS2

This contribution is now controlable via Adminpages and not longer via separate language files

- Center and Size the Shop for display on multiple resolution screens.

- Set a background color for around the shop.

Thanks to Linda McGrath <oscommerce@WebMakers.com>, for her original contribution, and Randy Newman for his modifications to MS2.

I have just make it useable via the Admin pages.

Please post any questions and issues related to this contribution to the osCommerce Message Board so all can learn and benefit!

Expand All / Collapse All

Easy Center, Size Shop with Layers spooks 9 Jul 2008

I thought I`d add this to this contrib as people keep asking.

This gives a much simpler technique than before so if you prefer the table way use an older edition.

To center & size Shop

At the very start of header.php add:

<div id="content">

then at the very bottom of footer.php add:

</div>

then add to your css:

#content {
width: 900; margin: auto;
border: 1px solid #999999;
text-align:center;
}

and add to the BODY tag

text-align:center;

Obviously set width above to whatever you need.

Thats It!!

The attached has same plus technique for different width header/footer to content:

Works with all osC versions

Footer "white-space" fix. peterpil19 14 Sep 2005
Modified the footer.php Daniel Klueh 10 May 2005
regarding: 17 Dec 2004 - Background Control and Space in footer Michael Studer 8 Jan 2005
Background Control and Space in footer everygamer 17 Dec 2004
Small Hint Vladimir Abadzhiev 30 Jun 2004
centrer Fouquart Thierry 28 Jun 2004
osC-CenterShop v3.0 for MS2 Eric Montgomery (Islander2u) 26 Feb 2004
osC-CenterShop v2.2 for MS2 Eric Montgomery (Islander2u) 22 Oct 2003
osC-CenterShop v2.1 for MS2 Hans Loos 26 Aug 2003

Note: Contributions are used at own risk.