Guest Posted June 10, 2005 Posted June 10, 2005 Hi on my website if you see http://nzchf.co.nz/shop/ you see it is very ugly around the main staff like categories, and other stuff etc. I would like a nice border around each of these as seen here http://www.dse.co.nz/. I'm using the simple template system (http://www.oscommerce.com/community/contributions,1524). All help is greatly appreciated. Thanks, Tomek.
Halfpint Posted June 10, 2005 Posted June 10, 2005 Hi on my website if you see http://nzchf.co.nz/shop/ you see it is very ugly around the main staff like categories, and other stuff etc. I would like a nice border around each of these as seen here http://www.dse.co.nz/. I'm using the simple template system (http://www.oscommerce.com/community/contributions,1524). All help is greatly appreciated. Thanks, Tomek. <{POST_SNAPBACK}> To make the round corner into a square corner (or vice versa), then all you need to do is change the following code in each of the files in includes/boxes infoBoxHeading($info_box_contents, true, false change to infoBoxHeading($info_box_contents, false, false ------------------------------------------------------------------------------------------------- To change the corners of the box in the middle of the pain page open catalog/includes/classes/boxes.php Line 152 159 $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'))); -------------------------------------------------------------------------------------------------- To change the right hand corner from a square to a curved corner 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'))); Change on line 159 for right hand side to code below 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right.gif'))); If you don't like the colour of the border you can change that although at the moment I can't recall how I did that. :)
♥14steve14 Posted June 10, 2005 Posted June 10, 2005 to change the border colour, go to stylesheet.css. Cant remember exactly how to do it, but in the infobox section, you alter the background colour, and the border is the difference in size between the two colours. Something like that i think. REMEMBER BACKUP, BACKUP AND BACKUP
♥Vger Posted June 10, 2005 Posted June 10, 2005 In addition to the above, look at my signature below - where it says Different Borders For Info Boxes Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.