♥peterpil19 Posted August 27, 2005 Share Posted August 27, 2005 Hi, I'm replacing the box category heading titles with images as per the instructions in the online documentation. Problem is that the image won't fit properly, i.e. no matter what size image I use, there is a space on either side of it. if I increase the image size, the whole box just increases. How do I get rid of this extra spacing? Is there something I can change in boxes.php? Here's a screenshot. As you can see, there is a grey space on either side of the category heading picture. Thanks for any help! --Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2005 Share Posted August 27, 2005 if you open the includes\classes\boxes.php function infoBoxHeading you will see it uses left/right images for the corners. These images should match what you currently have with the middle one. Or you can set up a css class and then use the .css entry to specify the corner images. Link to comment Share on other sites More sharing options...
♥peterpil19 Posted August 27, 2005 Author Share Posted August 27, 2005 if you open the includes\classes\boxes.php function infoBoxHeading you will see it uses left/right images for the corners. These images should match what you currently have with the middle one. Or you can set up a css class and then use the .css entry to specify the corner images. <{POST_SNAPBACK}> Thanx, I think Ive figured it out now! --Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here Link to comment Share on other sites More sharing options...
♥peterpil19 Posted August 27, 2005 Author Share Posted August 27, 2005 Hey again, I've fixed up the left side, but the right side is behaving weird. would anyone know why the right picture is shrunken? Here's a picture. Thanks for any help! --Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2005 Share Posted August 27, 2005 Hey again, I've fixed up the left side, but the right side is behaving weird. would anyone know why the right picture is shrunken? Here's a picture. Thanks for any help! --Peter <{POST_SNAPBACK}> have a look here http://www.oscdox.com You need to replace all the references to right corner.gif and the left with pixel trans .gif, which is in the same images directory. Link to comment Share on other sites More sharing options...
♥peterpil19 Posted August 28, 2005 Author Share Posted August 28, 2005 have a look here http://www.oscdox.com You need to replace all the references to right corner.gif and the left with pixel trans .gif, which is in the same images directory. <{POST_SNAPBACK}> Thanks, in addition I found that I had to that one of the pictures in box.php had a setting of '11,'14' i.e dimensions. Changing that to '1','14' seems to have fixed the problem. --Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here Link to comment Share on other sites More sharing options...
♥peterpil19 Posted August 28, 2005 Author Share Posted August 28, 2005 Thanks, in addition I found that I had to that one of the pictures in box.php had a setting of '11,'14' i.e dimensions. Changing that to '1','14' seems to have fixed the problem. --Peter <{POST_SNAPBACK}> Actually, it fixed a few of the boxes, but the others have spaces... I don't know, I'm close to giving up! Screenshot: --Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here Link to comment Share on other sites More sharing options...
Jumping Rabbit Posted August 28, 2005 Share Posted August 28, 2005 Easy solution.. Backtrack to original set-up.... Then just replace all the images in images/infobox/ with transparent gifs in the size you want.. Now you can set any background picture you want in the stylesheet for the box headings. Faster Checkout - osCommerce Knowledge Base - Anyone meet offline?, Has anyone of you cyberkids meet offline? For newbees do atleast read this 4 points: Basic info - Search tips and help - Posting tips and help - Basics for Design Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.