Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Button change to image

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-29-2005, 08:04 AM
 
realnet1 realnet1 is offline
 

Advanced Member
  
Join Date: Mar 2004
Location: Illinois
Posts: 69
 

Default 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.
__________________
x cart gold 4.7.8
www.sextoyshopping.net/sextoys
Reply With Quote
  #2  
Old 04-29-2005, 08:16 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:55 PM.

   

 
X-Cart forums © 2001-2020