Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Center Shop admin controls not working


webtoole

Recommended Posts

Hello. I installed Center Shop. I updated my configuration.SQL file using PHPadmin. When I go to my Admin control panel to my store and select Center Shop, a window appears with options to control page width, background color, border thickness, cell padding ect. ect. I made changes for example to change the background color to 000000 (black) I updated and saved my changes. When I load my site now, the background color is white, and all of the cell padding and border thickness settings that I changed also did not take effect. I thought that my browser might be pulling up a cached page, so I deleted my history, temp internet files including offline content and reloaded my site. It still is all messed up. The actual centering is correct, just the colors and borders are wrong still. Any help would be appreciated. Thanks in advance.

 

Matt

Link to comment
Share on other sites

  • 2 weeks later...

I never use one of the contributions but you could easily center the shop and add cell padding or spacing by putting your site inside a table.

 

I do this by opening the catalog/includes/header.php and add something like

<table width="770"  border="0" align="center" cellpadding="0" cellspacing="0">
 <tr>
   <td align="left" valign="top">

to the top of the file then open catalog/includes/footer.php and add

</td>
 </tr>
</table>

to the very end of that.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

I never use one of the contributions but you could easily center the shop and add cell padding or spacing by putting your site inside a table.

 

I do this by opening the catalog/includes/header.php and add something like

<table width="770"  border="0" align="center" cellpadding="0" cellspacing="0">
 <tr>
   <td align="left" valign="top">

to the top of the file then open catalog/includes/footer.php and add

</td>
 </tr>
</table>

to the very end of that.

 

Thanks Wendy! I have another question. How can I make the middle column of my site be a fixed width or put the middle column in a table? Can it be done with a simple edit to one or 2 pages, or will I have to put every single page that loads in the middle column when their links are clikced on the site. I have my site set to fixed width using the fixed width contrib, but the middle comumn changes sizes in width in different pages on my site and makes the side columns go beyond the fixed width if that makes any sense. I am trying to get my entire site to stay the same width no matter what page somebody visits. Thanks in advance for you help if you have any suggestions.

Link to comment
Share on other sites

The center part? Not sure what you mean by that. The column between the left and right columns or the pages that load between the header and footer? Either way it doesn't really matter lol.

 

If you have content... such as images in an infobox or for a products description that push a column out it will make everything move. The only thing you can do is find the culprit and change the size. Most likely it is images as text will just move to the next line.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Thanks, Wendy. I didn't see your post before I decided to turn off the center shop contribution and instead used Vger's Fixed Width Site With CSS contribution.

 

Another problem I found with the original center shop contribution is that no matter what I did, I couldn't change the body background color through stylesheet.css (as described in the knowledge base). Once I turned the center shop off, the changes worked. Not sure what caused that, but it doesn't matter now, as the problem is fixed.

 

Regards,

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...