Thread: background gifs
View Single Post
  #2  
Old 11-26-2002, 08:43 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

Seacoast,

Best way to acheive this is through the skin1.css file.

The categories are controlled by the CategoriesList item. Set a backgroung gif in this as per the following:

.CategoriesList {
FONT: 11px Verdana, Arial, Helvetica, sans-serif;
background-image: url(images/background.gif);
background-repeat: no-repeat;
}

This will show one image in the background to the category item. Be careful that the image is small enough for the line height. If this is an issue set it as follows for a 20 pixel line height.

.CategoriesList {
FONT: 11px/20px Verdana, Arial, Helvetica, sans-serif;
background-image: url(images/background.gif);
background-repeat: no-repeat;
}

Hope this helps.

Funkydunk
__________________
ex x-cart guru
Reply With Quote