Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

modifying the footer.


brett

Recommended Posts

hey! I am trying to mod the footer.php file a bit and use a standard background image. I have tried literally everything, including <table width="100%" background="includes/bg.gif"> but even that doesn't really work. It just shows up as a little sliver at the bottom of the page.

 

Does anyone know why it wont show up over the whole vertical height of the footer? I just can't seem to figure this out...

 

thanks,

 

=brett=

Link to comment
Share on other sites

set your background image using the stylesheet for footer

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

i tried that and it still didn't work :(

 

I'll include them, maybe i've got the code wrong?

 

TR.footer {

background-image: url(includes/bg.gif);

}

 

 

TD.footer {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background: #034363;

color: #ffffff;

font-weight: bold;

}

 

...i tried with both the "background-image: url(includes/bg.gif);" under TR.footer and TD.footer. under the TD.footer it worked, but under the TR it did not.

 

it's mind-boggling i tell ya :) ....any ideas?

 

thanks!

 

=brett=

Link to comment
Share on other sites

hmm, that partially fixed the problem.

 

check it out at: http://host.9thss.com/~admin96/catalog/

 

if you look at the bottom, you'll see that it doesn't extend to the end of the page like a background image should.

 

here's the exact code from the footer.php:

 

<?php

/*

$Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require(DIR_WS_INCLUDES . 'counter.php');

?>

<table border="0" width="100%" cellspacing="0" cellpadding="1" background="images/bg.gif">

<tr class="footer">

<td class="footer" background="images/bg.gif">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

<td align="right" class="footer" background="images/bg.gif">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>

</tr>

</table>

<table border="0" width="100%" cellspacing="0" cellpadding="0" background="images/bg.gif">

<tr background="images/bg.gif">

<td align="center" class="smallText" background="images/bg.gif">

Copyright ? 2004 SeattleTeams.com & Seattle Team Shop

<br>

Powered by osCommerce

</td>

</tr>

</table>

 

 

 

does anyone have any ideas? maybe i'm just missing something, but i can't seem to find it!!!

 

thanks!! you guys are the best!

 

=brett=

Link to comment
Share on other sites

hey! I am trying to mod the footer.php file a bit and use a standard background image. I have tried literally everything, including <table width="100%" background="includes/bg.gif"> but even that doesn't really work. It just shows up as a little sliver at the bottom of the page.

 

Does anyone know why it wont show up over the whole vertical height of the footer? I just can't seem to figure this out...

 

thanks,

 

=brett=

When you say background image, is this what you mean or are you just trying to display a image picture in the footer?

 

I have found that you can't or I haven't figured out how to add another table to the footer without messing the footer up, look at my footer and let me know if this is what you have in mind or not.

Best Regards

Link to comment
Share on other sites

actually, i fixed mine up. www.seattleteams.com

 

it works alright, until you get to some of the subpages... i haven't edited all of them yet.

 

you can add lots of tables to the footer if you'd like. i'm not sure why you're having troubles with that.

 

peace!

 

=b=

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...