Jump to content
Sign in to follow this  
candocandy

Center Shop Problem

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:

Share this post


Link to post
Share on other sites

Thanks John,

 

I have tried this to no avail. I think I will try and uninstall the center shop contribution and hard code the centre settings.

 

Cheers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×