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)
-   -   Changing the colour of buttons (https://forum.x-cart.com/showthread.php?t=19854)

cvs 02-09-2006 02:45 PM

Changing the colour of buttons
 
Hi There,

I want to change the colour of the buttons in X-Cart, buttons like "go", "buy now", and "Checkout".

Also for that matter, I am unable to change the text that appears in a button.

When I login to webmaster mode, and click on the button hoping to edit the text, it will only take me to the page where the button leads...

Thanks in advance.

balinor 02-09-2006 05:41 PM

The buttons are all images, you can see which ones by looking at button.tpl in the buttons folder. As for the text, they are all language variables which you can change by clicking on 'Languages' in your admin area.

snorocket 02-10-2006 09:09 AM

CSS Buttons
 
Quote:

I don't know if this change has been made or not, but in my opinion buttons should not require 14 lines of code and 11 if statements.

Instead, just:

Code:
<input type="submit" name="submit" value="{$lng.lbl_langvar}" class="usecss">

Quoted from Jon, how can we make all the buttons CSS, do we just replace all the contents in buttons.tpl with:

<input type="submit" name="submit" value="{$lng.lbl_langvar}" class="usecss">

vulcan-works 02-10-2006 06:14 PM

Re: CSS Buttons
 
Quote:

Originally Posted by snorocket
Quote:

I don't know if this change has been made or not, but in my opinion buttons should not require 14 lines of code and 11 if statements.

Instead, just:

Code:
<input type="submit" name="submit" value="{$lng.lbl_langvar}" class="usecss">

Quoted from Jon, how can we make all the buttons CSS, do we just replace all the contents in buttons.tpl with:

<input type="submit" name="submit" value="{$lng.lbl_langvar}" class="usecss">


i tryed changing the buttons into just regular form buttons but its a little more complicated than you would think... and no that woudent work

docpeyer 02-24-2006 08:53 AM

This is something that I would love to do.... change the graphic buttons from the graphics to actual browser buttons. I've been searching for a thread that addresses this, but have not had any luck. Anybody?

Thanks,
Jeremy

snorocket 02-24-2006 10:49 AM

Yea
 
I spent over 20+ hrs and figured it out. I'm going to offer a CSS Button Pack free with every X-Locator license,details in sig, and yea I know thw link is broken, I'll fix it soon as the new site will launch Monday featuring the CSS Button Pack with X-LOCv2.0. I still have a headache from X-Cart and my fingers hurt very much.

Lionel 02-27-2006 12:36 AM

The button is made of 3 <td>:left, center, and right. I'd like to use the buttons.tpl, but depending of action have a different right image.

for add to cart I'll have a cart.gif, for checjout, another right.gif and so one.

How can this be accomplished?

Lionel 02-27-2006 03:44 AM

never mind. I figured it out.


All times are GMT -8. The time now is 11:54 PM.

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