cwg25 Posted October 14, 2005 Share Posted October 14, 2005 I started off with osc with the template that came with it. I'm slowly modifying it to make it look the way I want to. I'm having trouble finding the file or files to get rid of the small images to the left of the title on the home page, catalog. For each of these titles, "Categories", "What's New", "Quick Find", etc., etc., there is a small image to the left. How can I edit these images out and left align the titles of the sections? Thanks! Link to comment Share on other sites More sharing options...
Alxb Posted October 14, 2005 Share Posted October 14, 2005 I started off with osc with the template that came with it. I'm slowly modifying it to make it look the way I want to. I'm having trouble finding the file or files to get rid of the small images to the left of the title on the home page, catalog. For each of these titles, "Categories", "What's New", "Quick Find", etc., etc., there is a small image to the left. How can I edit these images out and left align the titles of the sections? Thanks! The way i did that was to make new transparent gif images and give them the same names as those images.. in the info box directory /catalog/images/infobox or something similar . corner_left.gif , corner_right.gif etc .... that why i didnt have to remove the images or comment out any functions in the boxes.php.. if you do just delete the infobox images it will generate a number where the images should be . hope this helps Link to comment Share on other sites More sharing options...
cwg25 Posted October 14, 2005 Author Share Posted October 14, 2005 The way i did that was to make new transparent gif images and give them the same names as those images.. in the info box directory /catalog/images/infobox or something similar . corner_left.gif , corner_right.gif etc .... that why i didnt have to remove the images or comment out any functions in the boxes.php.. if you do just delete the infobox images it will generate a number where the images should be . hope this helps I know I could always create a new image and replace them, but aren't the titles then moved over a little and not left aligned - unless I set the width and height to 1 pixel on the transparent gif? There must be a way to delete the pictures without having a number come up. Tell me where you were able to change the infobox image stuff. Thanks! Link to comment Share on other sites More sharing options...
Alxb Posted October 14, 2005 Share Posted October 14, 2005 I know I could always create a new image and replace them, but aren't the titles then moved over a little and not left aligned - unless I set the width and height to 1 pixel on the transparent gif? There must be a way to delete the pictures without having a number come up. Tell me where you were able to change the infobox image stuff. Thanks! in the boxes.php catalog/includes/classes/boxes.php this chunk of code: $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'))); i tried commenting this out but im sure it left a number where the image should have been. if you make transparent images of the same dimensions it shouldnt shift the headers over. Link to comment Share on other sites More sharing options...
cwg25 Posted October 14, 2005 Author Share Posted October 14, 2005 in the boxes.php catalog/includes/classes/boxes.php this chunk of code: $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'))); i tried commenting this out but im sure it left a number where the image should have been. if you make transparent images of the same dimensions it shouldnt shift the headers over. Thanks alxb, I'll try this later Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.