Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Info Box Background problems


10incher

Recommended Posts

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

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

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.

grad.jpg

 

: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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...