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)
-   -   Button change to image (https://forum.x-cart.com/showthread.php?t=13704)

realnet1 04-29-2005 08:04 AM

Button change to image
 
can someone that has used images instead on the stock button (add to cart) post the templet for buttons.

Not sure what to replace to use an image instead of stock button.

Thanks in advance.

balinor 04-29-2005 08:16 AM

It isn't that simple I'm afraid. The way the button template works, it is a three cell table, with an image on each end and the 'text' in the middle with a background image so that it auto-stretches to the size of the text. If you change that to an image, you will have the same button everywhere. There are a few ways of changing buttons:

1. Create a different button template for each button.

2. Hard code the image into each individual template (checkout, cart, product, etc).

3. Edit the three existing button images to fit the look you want.

There are quite a few posts on this in the template editing forum, have a look.


All times are GMT -8. The time now is 06:57 AM.

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