Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Added Center Shop & now can't remove footer bar


Guest

Recommended Posts

I've installed Linda's center shop mod & it works a treat, but I cant get rid of the orange bar that's appeared in my footer.

 

Help!

Link to comment
Share on other sites

Hi,

 

I also installed center shop and I have a white line at the bottom instead of orange.

 

I like center shop. But I couldn't figure out, where the white line come from.

 

The table to remove you mentioned I can not find.

 

Can it be here? if ( CENTER_SHOP_BACKGROUND_ON=='1' ) {

// Add color to bottom of screen for large displays - needed especially on notebooks that run at 1600x1200

 

Devon

Link to comment
Share on other sites

Worked a treat! Thanks Burt. I've bookmarked the link for validator.w3.org - what a really useful resource. :D

 

Devon, the code is in footer.php

Link to comment
Share on other sites

Hi,

 

I also installed center shop and I have a white line at the bottom instead of orange.

 

I like center shop. But I couldn't figure out, where the white line come from.

 

The table to remove you mentioned I can not find.

 

Can it be here?   if ( CENTER_SHOP_BACKGROUND_ON=='1' ) {

// Add color to bottom of screen for large displays - needed especially on notebooks that run at 1600x1200

 

Devon

 

The white line is caused, in part, by the <br> at the end of each page ... right after the foot is called. Example from product_info.php

 

<!-- footer //-->

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

 

The way to fix this and to eliminate the white flash between page clicks is to edit the stylesheet.css and add the outter background color to it.

BODY {

 background: #2F4F4F;

 color: #000000;

 margin: 0px;

}

Link to comment
Share on other sites

Well the center shop is working great now, but how do I add an image to the background of the border? I assume it should cgo in center_shop in the define background bit, what do I need to add?

Link to comment
Share on other sites

Hi Linda,

 

I changed the stylesheet and everything is okay. So easy!

 

And much better, the white flash has gone. That bothered me much more than the white line at the bottom. Juhuu!

 

It was my fault. After installing centershop I changed the bodycolor to "transparent" while trying out to change the border colour and forgot to change it again. I would never figure out, that this is the reason for the white space and flash.

 

Center Shop is such a nice contribution. Only a few files to add, easy to install and easy to center the shop.

 

Thank you Linda!

 

Devon

Link to comment
Share on other sites

Well the center shop is working great now, but how do I add an image to the background of the border? I assume it should cgo in center_shop in the define background bit, what do I need to add?

 

There are several types of image boarders. Are you trying to add one similar to the blue wrap around image like:

 

http://www.power-matrix.com/catalog

Link to comment
Share on other sites

Well the center shop is working great now, but how do I add an image to the background of the border? I assume it should cgo in center_shop in the define background bit, what do I need to add?

 

There are several types of image boarders. Are you trying to add one similar to the blue wrap around image like:

 

http://www.power-matrix.com/catalog

 

Well, I like the border there, & will think about adding something like that to my site -

<table width="780" border="0" cellspacing="0" cellpadding="0" align="center">

 <tr> 

   <td width="28"><img src="[color=red]leftcorner.gif[/color]" width="28" height="27"></td>

   <td width="724" background="[color=red]topborder.gif[/color]"></td>

   <td width="28"><img src="[color=red]rightcorner.gif[/color]" width="28" height="27"></td>

 </tr>

 <tr>

   <td width="28" background="[color=red]sideborder.gif[/color]"></td>

   <td width="724">

If I've understood your code correctly, that needs to go in headr.php & then something similar in footer.php. Nothing in the body?

 

But no, that wasn't what I was originally asking about! :lol: What I'd like to do is add an image to the green(default colour) border that goes around the shop. The bit that fills the rest of the screen -

CENTER_SHOP_BACKGROUND_COLOR_OUT

How do I add an image there? Is it possible?

 

BTW thanks Linda for such a great, easy to use contribution. :D :D :D

Link to comment
Share on other sites

The blue image I am using on power-matrix.com is made of 7 images.

 

Notice how the table has half in the header and half in the footer. That split <td> allows for the peice of the image that makes up the sides.

 

Can you describe the image you are trying to use as a boarder?

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...