Driber Posted December 2, 2006 Posted December 2, 2006 I made the text of my boxes clickable, for instance in catalog/includes/languages/English.php I changed the line define('BOX_HEADING_WHATS_NEW', 'What\'s New?'); to: define('BOX_HEADING_WHATS_NEW', '<a href="products_new.php?What\'s New?</a>'); but then the link is black. I tried to assign the link a new span class: define('BOX_HEADING_WHATS_NEW', '<span class="whiteLink"><a href="products_new.php?What\'s New?</a></span>'); ...which I defined in stylesheet.css, like this: .whiteLink { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #ffffff; text-decoration: none; } but still the link remains black, like something else is overriding my span class does anyone have an idea how I can fix this?
Daemonj Posted December 3, 2006 Posted December 3, 2006 Your link is incorrectly formatted. It should be: define('BOX_HEADING_WHATS_NEW', '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW) . '" class="whitelink">What\'s New?</a>'); "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Recommended Posts
Archived
This topic is now archived and is closed to further replies.