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

Add to Cart button change color?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-02-2005, 03:52 PM
 
Wambli Wambli is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 52
 

Default Add to Cart button change color?

Does anyone know how to change the bkground color for the Add to Cart Button?? Is it in my CSS files if so I can't find it? I want to change my Add Cart and all the other buttons bkground color to black?
__________________
Christmas
x-cart 4.1.6
Reply With Quote
  #2  
Old 10-02-2005, 04:45 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

Not if you double post.
__________________
4.1.9
Reply With Quote
  #3  
Old 10-02-2005, 05:28 PM
 
Wambli Wambli is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 52
 

Default sorry that double post was a

Sorry that double post was a accedent still getting use to all of this
__________________
Christmas
x-cart 4.1.6
Reply With Quote
  #4  
Old 10-02-2005, 05:49 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

Wambli,

Check the file: /buttons/add_to_cart.tpl - you will see it references: button.tpl and in that file, you see class="Button"

Either change all buttons by class or assign a different class or tpl for the button. Basically, you need to vall a different template, like button_add and then creat the template button_add.tpl and change the class in there.

That should get you started.

- Mike
__________________
4.1.9
Reply With Quote
  #5  
Old 10-03-2005, 03:31 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

edit .button in css and then adjust the images that make up the left & right

but.gif etc in images folder

your other post has been removed
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
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 07:37 AM.

   

 
X-Cart forums © 2001-2020