Tsuri Japan Posted March 16, 2006 Posted March 16, 2006 quick question, I did this mod http://www.oscommerce.com/community/contri...ns,2710/page,18 and all is well but the only problem is............. I want to choose a black background and the footer is dissapearing when I choose this.(I have black text) How can I make it so it'll be in the same table/cell as the index? If you need to you can look on my site, I'm made the border very black and below you'll see the text below of what I'm talking about. My Webpage MY HOMEPAGE Copyright ? 2006 Tsuri Shop Japan etc etc Thanks in advance, Nigelman
♥Vger Posted March 16, 2006 Posted March 16, 2006 It looks like you've taken the footer out of the fixed width, but there's no need to do that. All you need to do is to alter the css class that's used in the footer or create a new one - so that it displays white text against a black background. Vger
Tsuri Japan Posted March 17, 2006 Author Posted March 17, 2006 you know I tried that too and just couldn't get it to work.... do you know the tag or name of what I need to alter? Nigelman :thumbsup:
♥Vger Posted March 17, 2006 Posted March 17, 2006 The class is 'footer' and in includes/footer set a background colour for the table it's contained in. Vger
Tsuri Japan Posted March 17, 2006 Author Posted March 17, 2006 This is the typical footer coding that we all have but what I'm trying to do is add an image (new idea) as the footer along with the basic text that goes there. <?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'); ?> </div> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"></td> </tr> </table> <br> <table border="10" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <?php } ?> Now here is my text............don't laugh cuz I'm not a pro and I usually try with trial and error. <?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'); ?> </div> <br> <tr><table border="1" cellpadding="0" and cellspacing="0" bordercolor="#ffffff"<img src="http://www.fukuokafishingadventures.com/tsurishopjapan/images/banners/footer.jpg" width="100%" height="82" alt="banner"<td align="center" valign="middle"><td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td></tr></tr></table> <?php if ($banner = tep_banner_exists('dynamic', '789x60')) { ?> <br> <?php } ?> Could you tell plz tell me what I've done wrong or how I can fix this so it's nice and snug with my index and with no space. Oh yeah the image isn't showing up so that's kind of a problem too! Thanks in advance, Nigelman :thumbsup:
Tsuri Japan Posted March 17, 2006 Author Posted March 17, 2006 sorry don't worry about that code......... why can't I edit my comments after??? weird eh? <?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'); ?> </div> <table border="1" width="803" cellspacing="1" cellpadding="0" bordercolor="#000000" bgcolor="#ffffff"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '789x60')) { ?> <br> <?php } ?> I just want to add a background image to this footer...... Thanks, Nigelman :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.