Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CenterShop Contib - footer problems


lostblur

Recommended Posts

Posted

hi all..

 

i've installed the Centershop v3.0 on my site but the footer seems to left outside of the centering... ( www.seowchoon.com )

 

this happens in every generic page... which leads me to think that there's a problem with the footer.php

 

but i jus can't seem to solve it...

 

any one please????

 

thanks alot...

Posted

I`m surprised there`s a contrib for this, when is such a basic operation.

 

I looked at that, its using tables to center, that may not work with all browsers & could cause problems with osC as it makes heavy use of table (hence your problem)

 

I use DIV, its much simpler too:

 

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.

 

Hope that helps

 

;)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted
Hope that helps

 

;)

 

Best and easiest way to center a shop so far (and I've tried several odd solutions). You rock! Thanx! :)

Posted
I`m surprised there`s a contrib for this, when is such a basic operation.

 

I looked at that, its using tables to center, that may not work with all browsers & could cause problems with osC as it makes heavy use of table (hence your problem)

 

I use DIV, its much simpler too:

 

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.

 

Hope that helps

 

;)

 

Thank you it works great! one question, is their any way to change the color around the shop?

Archived

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

×
×
  • Create New...