Ronaldgoal Posted July 1, 2008 Share Posted July 1, 2008 here is the image i want to put as Infoboxheader background image 122x30: here is the code i change in stylesheet.css: TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background-image:url(images/imagebox.gif); background-repeat:no-repeat; color:#000000; } here is the code i changed in boxes.php line 122: $info_box_contents[] = array(array('params' => 'height="30" class="infoBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="30" class="infoBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="30" class="infoBoxHeading" nowrap', 'text' => $right_corner)); Here is the result: can anyone help me please? Link to comment Share on other sites More sharing options...
jhande Posted July 1, 2008 Share Posted July 1, 2008 There's an easier way... ;) Go back to the original code. Create your image, Slice it into three images (left | middle | right) with the pixel width(s) = 11 | 100 | 11, Save the images to your images > infobox folder as (replacing the originals), corner_left.gif | corner_right_left.gif | corner_right.gif I didn't have too, but you might need to change the height settings in includes > classes > boxes.php from 14 to 30. Worked for me! - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
Ronaldgoal Posted July 1, 2008 Author Share Posted July 1, 2008 There's an easier way... ;) Go back to the original code. Create your image, Slice it into three images (left | middle | right) with the pixel width(s) = 11 | 100 | 11, Save the images to your images > infobox folder as (replacing the originals), corner_left.gif | corner_right_left.gif | corner_right.gif I didn't have too, but you might need to change the height settings in includes > classes > boxes.php from 14 to 30. Worked for me! HEY Jhande, thx for helping me but unfortunately it did not work: this is how I want it to look: Link to comment Share on other sites More sharing options...
jhande Posted July 1, 2008 Share Posted July 1, 2008 HEY Jhande, thx for helping me but unfortunately it did not work: this is how I want it to look: It looks like you have something wrong with your coding. Are you using a template or did you customize your different infoboxes? The first image/infobox looks correct for displaying corner_left.gif But for some reason you are displaying the corner_right_left.gif in the incorrect spot for the Manufacturers and What's New infoboxes. And where did corner_right go? - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
Ronaldgoal Posted July 1, 2008 Author Share Posted July 1, 2008 It looks like you have something wrong with your coding.Are you using a template or did you customize your different infoboxes? The first image/infobox looks correct for displaying corner_left.gif But for some reason you are displaying the corner_right_left.gif in the incorrect spot for the Manufacturers and What's New infoboxes. And where did corner_right go? Regarding my code, i did not touch it since I just installed it this morning. I only change the stylesheet.css...do you think it comes from there? about corner right, check the pic below. if you have any clue, thx to let me know! Link to comment Share on other sites More sharing options...
Ronaldgoal Posted July 1, 2008 Author Share Posted July 1, 2008 I found the solution! I don't think it is the best to be, so I won't provide it, unless desesperate people are ready to msg me! Good luck to all and thx for trying to help me! regards Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.