newmeat Posted April 26, 2008 Posted April 26, 2008 OK so I have changed the header image to a full width one. Now I also want to add a few links on top of the image, not in the breadcrumb section but actually on the image. I have modified include/header.php and can get the link to appear but it is following the header class and there using A and A:hover so my colours are wrong. I just want white text The code is <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> <td valign="bottom" align="right"><a href="nuke/modules.php?name=Forums">Forums</a></td> </tr> </table> I have added the bit the following although the link is just an example until I can get the colour sorted. <td valign="bottom" align="right"><a href="nuke/modules.php?name=Forums">Forums</a></td> How do I get it to be white text.....i.e. get away from A and A:hover??? Any help appreciated, it's driving me mad!!!
ruizerwin Posted April 27, 2008 Posted April 27, 2008 OK so I have changed the header image to a full width one. Now I also want to add a few links on top of the image, not in the breadcrumb section but actually on the image. I have modified include/header.php and can get the link to appear but it is following the header class and there using A and A:hover so my colours are wrong. I just want white text The code is <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> <td valign="bottom" align="right"><a href="nuke/modules.php?name=Forums">Forums</a></td> </tr> </table> I have added the bit the following although the link is just an example until I can get the colour sorted. <td valign="bottom" align="right"><a href="nuke/modules.php?name=Forums">Forums</a></td> How do I get it to be white text.....i.e. get away from A and A:hover??? Any help appreciated, it's driving me mad!!! You can create a special class on your css only for your <a> on the banner Hope it help Erwin D. Padilla Web Developer and Linux Admin
Recommended Posts
Archived
This topic is now archived and is closed to further replies.