sreshtrams Posted December 7, 2007 Posted December 7, 2007 Hi, We are trying to change the look and fell of the website and got stuck while modifying advance_search.php. On this page there are basically two sections. Section A: Where the user can give the search criteria in the text area, may or may not check the checkbox (Search in Product Descriptions) and click on search. Section B: The search criteria can be narrowed down based on Categories, Manufactures, Price From, Price To, From Date and To Date. I could able to change the background color of section B, by adding few line of code in style sheet and refer in the table row. <tr class="infoBoxContentsChange">. This gives the desired result we wanted. But we could not change the back ground color of section A. This is the chunk of code extracted from advance_search.php (Section A). Section A is written with in a table. <tr> <td> <?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); ?> If someone can guide us through in modifying the code, that will be of greater help.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.