X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   background gifs (https://forum.x-cart.com/showthread.php?t=788)

seaCOAST 11-26-2002 02:53 AM

background gifs
 
I'd like to add background gif buttons to my category listing.

Actually, I'd like to add it to all menus, but if I can get started with the categories, I might be able to figure it out.
:wink:

Thanks.

funkydunk 11-26-2002 08:43 AM

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

seaCOAST 11-27-2002 02:03 AM

Thanks funky...I haven't had a chance to try it yet, maybe over the weekend. :)


All times are GMT -8. The time now is 05:15 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.