10incher Posted September 2, 2005 Share Posted September 2, 2005 I am trying to set up my store so my left and right side menu backgrounds use a background image while all other sections that use the class="InfoBoxContents" in the CSS page use only a color (currently these all linked in the CSS page). I was able to create a new class for all the table backgrounds that I want to stay a solid color and add it to the CSS sheet. It worked for the most part, but there are a few sections I noticed that still use the original settings in the CSS sheet (which would be the background image). These are: advanced_search.php - The Search Criteria table background http://www.action-figures.ca/catalog/advanced_search.php popup_search_help - table background http://www.action-figures.ca/catalog/popup_search_help.php shopping_cart - The background area where it says what is in your shopping cart http://www.action-figures.ca/catalog/shopping_cart.php I want these sections to use a solid color background not the image. There may be more yet that I haven't found throughout the sign-up or check-out process. I hope this all makes sense. Please help. Link to comment Share on other sites More sharing options...
10incher Posted September 8, 2005 Author Share Posted September 8, 2005 Can anyone help me out? Link to comment Share on other sites More sharing options...
PHP_Newb Posted September 9, 2005 Share Posted September 9, 2005 On line 156 you can see how the contents are being called in advanced_search.php Its being called as an info box array. Which is why it has the Background image no matter what you try to do. I hope this gets you started in the right direction. The other place to look is in /includes/classes/boxes which is what handles the infoboxes. <?php $info_box_contents = array(); $info_box_contents[] = array('text' => HEADING_SEARCH_CRITERIA); new infoBoxHeading($info_box_contents, true, true); $info_box_contents = array(); $info_box_contents[] = array('text' => tep_draw_input_field('keywords', '', 'style="width: 100%"')); $info_box_contents[] = array('align' => 'right', 'text' => tep_draw_checkbox_field('search_in_description', '1') . ' ' . TEXT_SEARCH_IN_DESCRIPTION); new infoBox($info_box_contents); ?> Link to comment Share on other sites More sharing options...
10incher Posted September 9, 2005 Author Share Posted September 9, 2005 Thanks, now I understand why they are linked together. Anyone know of a fix so I can use a background image for the left & right column infoboxes and a straight color for any others? Link to comment Share on other sites More sharing options...
PHP_Newb Posted September 9, 2005 Share Posted September 9, 2005 Hey I have an idea why not make a 1pixel by 750 pixel width background image That graduates from left to right dark to light like you have it and continue the light green on. That will produce a result that will still have the graduation you want but wont repeat. Like this. :P I know its not exactly what you want but hey it will cut out alot of work :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.