Steven Barkess Posted January 2, 2006 Share Posted January 2, 2006 Hi Rather than just having a single colour as my backgroud in my infobox(s) I want to have an image. Using dreamweaver, I have created the following: TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-image: infoboxheading3d.gif; color: #ffcc00; font-weight: bold; } I have then out the infoboxheading3d.gif into the same folders as the two 'ends' (/catalog/images/infobox/...). However, the infoboxheading3d.gif is not called. I have a feeling that I need to edit the 'class infoBoxHeading extends tableBox {' but am lost at this point. Appreciate any next steps... Thanks Steven Link to comment Share on other sites More sharing options...
Steven Barkess Posted January 2, 2006 Author Share Posted January 2, 2006 Is it any edit to this part: $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading" nowrap', 'text' => $right_corner)); Link to comment Share on other sites More sharing options...
Steven Barkess Posted January 3, 2006 Author Share Posted January 3, 2006 Hi Still stuck on this one. I have seen some other sights use backgorund images as infoboxheading but I just get a white box appear. Cheers Steven Link to comment Share on other sites More sharing options...
fan4chevy Posted January 3, 2006 Share Posted January 3, 2006 I have also been trying to get a background image for my category box. I would love to find out how this is done. Especially a no repeat background. Link to comment Share on other sites More sharing options...
Steven Barkess Posted January 3, 2006 Author Share Posted January 3, 2006 Hi Charles I figured it out. In the above, change background-image: infoboxheading3d.gif; to background-image: url(images/infoboxheading3d.gif); where images/etc is the path to the file Steven Link to comment Share on other sites More sharing options...
fan4chevy Posted January 3, 2006 Share Posted January 3, 2006 Hi Charles I figured it out. In the above, change background-image: infoboxheading3d.gif; to background-image: url(images/infoboxheading3d.gif); where images/etc is the path to the file Steven On mine I want the background to be in the Category box itself and not the heading. I want a background behind the actual links. On and do you know how to set more spacing between the category links? Link to comment Share on other sites More sharing options...
Steven Barkess Posted January 3, 2006 Author Share Posted January 3, 2006 Check the css in the catalog dir. I think you need to change the infoboxcontent Sorry, not sure about the spacing part. Take a look at the catalog/includes/boxes folder. Steven Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.