Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

how to set the images as background for words "Categories", "Manufactures", "Bestsellers"


Recommended Posts

I try to put images as background for the word "Categories"(left column), "Manufacturers",

"Bestsellers", etc. for example, on the left column, has an image as background under the word "Categories", "Manufactures", "Bestsellers", etc.


do need go to catalog/include/boxs/categories.php to change some codes? how?


Any help would be very appreciated.




Link to comment
Share on other sites

There would be better ways to do this but here is my catalog/includes/boxes/categories.php:

$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES);


//new infoBoxHeading($info_box_contents, true, false);

echo '<table border="0" width="100%" cellspacing="0" cellpadding="0">


<td height="17" class="infoBoxHeading" style="background: url(images/infobox.gif) top repeat-x;">  ' . BOX_HEADING_CATEGORIES . '</td>



Here is the original code:

$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES);


new infoBoxHeading($info_box_contents, true, false);

What I did was comment out the new infoBoxHeading and added a table with a background image. You would have to do this with every box you display.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Link to comment
Share on other sites


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

  • Create New...