RE: Change round edges for the "New Products For..."
H2O <[email protected]> 10 Sep 2003 02:28:12 -0000
| Newsgroups | gmane.comp.web.oscommerce.tips |
|---|---|
| Message-ID | <a5593c5e9754b6075a6ee4cff74d7c38@osCommerce-Forums> |
This message was sent from: Tips and Tricks http://forums.oscommerce.com/viewtopic.php?p=227134#227134 ---------------------------------------------------------------- [quote="Janika"]Mhmm...I added ",false,false" as I want to have square corners. And it does not work. Loading the page maybe for one small second the corners are both square and then they change back as before - left corner round and right corner square. Janika[/quote] Actually, you didn't follow the directions correctly. He also asked to change [b][u]content[/u]BoxHeading [/b] to [b][u]info[/u]BoxHeading[/b] in addition to adding the [b],false,false[/b]. For some reason, they've made both classes behave differently. Another way to get this to work is by modifying [b]/includes/classes/boxes.php[/b] file by simply changing the [b]contentBoxHeading[/b] class a little: Change (around line 155): [code]'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')),[/code] to [code]'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif')),[/code] We are just replacing the rounded corner (corner_left.gif) with the squared one (corner_right_left.gif). HTH :)