Wordpro Posted July 4, 2005 Share Posted July 4, 2005 Hello, I've add a new class called TD.smallTextf in stylesheet.css for personalize the text color and size of the FOOTER_TEXT_BODY. I've changed the name of default class in footer.php (smallText) with mine class (smallTextf) but it don't work because the foter text that I see in my site is the same as with the default class "smallText". Any ideas? Thanks. Link to comment Share on other sites More sharing options...
Guest Posted July 4, 2005 Share Posted July 4, 2005 First thing to do is browse to your web page, then click on the menu View|Source (Page Source in Firefox) Scroll down till you see your footer text, is the class set correctly there? post the code where you added/changed the class (tell us the filename and highlight what you changed). Link to comment Share on other sites More sharing options...
Wordpro Posted July 4, 2005 Author Share Posted July 4, 2005 ***before*** 1) FOOTER.PHP <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> <?php echo FOOTER_TEXT_BODY ?> </td> </tr> </table> 2) INDEX.PHP <!-- footer //--><tr class="smallText"><?php require(DIR_WS_INCLUDES . 'footer.php'); ?></tr> <!-- footer_eof //--> -------------------------------------------------- ***after*** 1) FOOTER.PHP <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallTextf"> <?php echo FOOTER_TEXT_BODY ?> </td> </tr> </table> 2) INDEX.PHP <!-- footer //--><tr class="smallTextf"><?php require(DIR_WS_INCLUDES . 'footer.php'); ?></tr> <!-- footer_eof //--> 3) STYLESHEET.CSS TD.smallTextf, SPAN.smallTextf, P.smallTextf { font-family: Verdana, Arial, sans-serif; font-size: 4px; } 4) SOURCE CODE OF IE <!-- footer //--><tr class="smallTextf"><table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> luned? 04 luglio 2005 </td> <td align="right" class="footer"> 105 visite da domenica 03 luglio 2005 </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> Portale E-Commerce realizzato da Pallavicini Marika su base del progetto open source osCommerce<br>per<br><a href="http://www.friuldata.com" target="_blank">Friuldata Soc. Coop.</a> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><a href="http://utenti.lycos.it/serverprova1/redirect.php?action=banner&goto=1" target="_blank"><img src="images/banners/oscommerce.gif" border="0" alt="osCommerce" title=" osCommerce "></a></td> </tr> </table> </tr> <!-- footer_eof //--> If I see the source code of my browser, the class is "smallText". Why? Link to comment Share on other sites More sharing options...
Guest Posted July 4, 2005 Share Posted July 4, 2005 If I see the source code of my browser, the class is "smallText". Why? <{POST_SNAPBACK}> Well I think thats your problem then. Have you definitely uploaded the changes to your server? try deleting them off the server then uploading them again. Do you have the shop caching functionality turned on in admin? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.