longhorn1999 Posted February 19, 2010 Posted February 19, 2010 Hi everyone, Well I seem to have messed up my footer in the process of fixing my header. For whatever reason my footer was full of class=headerNavigation. Everything was white text on a blue background. But when I changed the header style, I had to change the footer entries to class=footer (as it should've always been) to keep white text on a blue background. TR.footer { background: #072B8A; } TD.footer { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #072B8A; color: #ffffff; font-weight : bold; text-align: center; } TD.smallText, SPAN.smallText, P.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> </td> <td align="middle" class="footer"><a href="<?php echo tep_href_link(FILENAME_CONTACT_US); ?>" class="footer"><?php echo BOX_INFORMATION_CONTACT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CONDITIONS); ?>" class="footer"><?php echo BOX_INFORMATION_CONDITIONS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_PRIVACY); ?>" class="footer"><?php echo BOX_INFORMATION_PRIVACY; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHIPPING);?>" class="footer"><?php echo BOX_INFORMATION_SHIPPING; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SITEMAP_SEO); ?>" class="footer"><?php echo BOX_INFORMATION_SITEMAP_SEO; ?></a> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> But even though to my untrained eye everything in the stylesheet as well as the relevant portion of footer.php looks ok, the text font color doesn't change when I edit it. But if edit the background color in TD.footer, that works. The text color is staying black no matter what I do. But oddly enough the white dividers are white like I want the text color to be. Any ideas as to what might be overriding these settings? Or perhaps (hopefully) I just have some small syntax error somewhere?
longhorn1999 Posted February 19, 2010 Author Posted February 19, 2010 Ok I figured it out. I just had to change 'TD.footer' in stylesheet.css to '.footer'.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.