swiftmed Posted March 28, 2007 Posted March 28, 2007 Hey Guys, I need to make some changes to the infobox's on an oscommerce install for a customer. He wants me to make the infobox's wider and the text slightly bigger. well i know how to change the size of the text but not the width of the infobox's. And if you also know this, does anybody know how i could change the header of the infobox's to like a rounded gradient image? Your advice will be much appreciated. :thumbsup: :thumbsup: :thumbsup:
Guest Posted March 29, 2007 Posted March 29, 2007 Hi. To change the width of the columns (and therefore the infoboxes, you will need to change the width value in includes/application_top.php around line 60 define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) In regard a rounded gradient, if you just want the box to be the one size (not recommended) then just insert an image in there. There is a great tutorial on infoboxes in the knowledge base. If you want a fluid box (that is, it will expand and contract with the content in there), it is a little more difficult. You will need to know how to create the look of the box in an image editor such as photoshop, slice it and then apply the slices. To make it all work on the site, I would suggest the infobox skin manager contribution http://www.oscommerce.com/community/contri...ox+skin+manager
jonquil Posted March 29, 2007 Posted March 29, 2007 includes/application_top.php (Line 59): define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) Remove infobox corners Infobox header images jon It's all just ones and zeros....
swiftmed Posted March 29, 2007 Author Posted March 29, 2007 Hi. To change the width of the columns (and therefore the infoboxes, you will need to change the width value in includes/application_top.php around line 60 define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) In regard a rounded gradient, if you just want the box to be the one size (not recommended) then just insert an image in there. There is a great tutorial on infoboxes in the knowledge base. If you want a fluid box (that is, it will expand and contract with the content in there), it is a little more difficult. You will need to know how to create the look of the box in an image editor such as photoshop, slice it and then apply the slices. To make it all work on the site, I would suggest the infobox skin manager contribution http://www.oscommerce.com/community/contri...ox+skin+manager Thankyou. you answered my quesion perfectly!!! One more question, is there a way i can disable the right column? so i can have the left column, then the rest of the space is for the product pages etc etc? Thanks again Andy
jonquil Posted March 29, 2007 Posted March 29, 2007 http://www.oscommerce.com/community/contributions,4101 It's all just ones and zeros....
Recommended Posts
Archived
This topic is now archived and is closed to further replies.