Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Center Shop Problem


candocandy

Recommended Posts

Hi,

 

I have been running Center Shop for a while now on my shop I have triedto add a background image to the site but, but instead of showing the image I get bright solid colours of either red or green.

 

I assume that the contribution will look to the Header.php file rather than the css to pick up this image. I have modified the code to:

 ///////////////////
 ///////////////////
 // [0001] BOF: WebMakers.com Added: Center Shop
 // This goes before any other table of the shop
 //
 // Is center Shop ON/OFF ?
 ///////////////////

     if ( CENTER_SHOP_ON == 'on' ) {

 ///////////////////
 // [0001] Background Color ON/OFF and CellPadding for around the shop?
 ///////////////////

       if ( CENTER_SHOP_BACKGROUND_ON == 'on' ) {
 ?>
     <table width="100%" cellpadding="<?php echo CENTER_SHOP_PADDING; ?>" cellspacing="0" border="0" bgcolor="/images/cream.jpg">
       <tr><td>
 <?php
       }


 ///////////////////
 // [0001] Shop Width Size and Shop Background Color
 ///////////////////
 ?>
 
     <table width="<?php echo CENTER_SHOP_WIDTH; ?>" align="center" BGCOLOR="/images/cream.jpg" BORDER="<?php echo CENTER_SHOP_BORDER; ?>" bordercolor="<?php echo CENTER_SHOP_BORDERCOLOR; ?>" CELLSPACING="<?php echo CENTER_SHOP_CELLSPACING; ?>" CELLPADDING="<?php echo CENTER_SHOP_CELLPADDING; ?>" >
       <tr><td BGColor="/images/cream.jpg">
 <?php

 ///////////////////
 // [0001] The rest of this <td> statement is located at the end of footer.php
 ///////////////////

 

For the life of me I cannot figure out why the image is not displaying.

 

Any input would be appreciated :huh:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...