Hi,
I just replaced what's new infobox with an image file.
But the problem is the image covered the link icon which is supposed to take me to the list of what's new products.
This is what I did.
english.php
includes/class/boxes.phpCode:define('BOX_HEADING_WHATS_NEW', '');
whats_new.phpCode:class infoBoxHeadingwhatsnew extends tableBox { function infoBoxHeadingwhatsnew ($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { $this->table_cellpadding = '0'; if ($left_corner == false) { $left_corner = tep_image(DIR_WS_IMAGES . ''); } else { $left_corner = tep_draw_separator(''); } $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="23" class="infoBoxHeadingwhatsnew"', 'text' => $left_corner), array('params' => 'width="100%" height="23" class="infoBoxHeadingwhatsnew"', 'text' => $contents[0]['text']), array('params' => 'height="23" class="infoBoxHeadingwhatsnew" nowrap', 'text' => $right_corner)); $this->tableBox($info_box_contents, true); } }
catalog/stylesheet.cssCode:new infoBoxHeadingwhatsnew($info_box_contents, true, false, tep_href_link(FILENAME_PRODUCTS_NEW));
Code:TD.infoBoxHeadingwhatsnew { background: #F4B0E0; background-image: url('images/whatsnew.gif'); background-repeat: no-repeat; color: #F4B0E0; }
The image I used on what's new infobox, my little link icon disappered.
How can I make it appered?
Thanks for any help.




LinkBack URL
About LinkBacks






Bookmarks