| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
button graphics | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||||
|
|||||||||
Re: button graphics
Quote:
I tried this and it worked but not for the "Continue shopping" and "Checkout" buttons. Does anyone know how change those to this standard form? |
|||||||||
#32
|
|||||||||
|
|||||||||
Re: button graphics
Are you using the fast lane checkout? If so those butons are defined by the CSS file in the fastlane checkout folder.
__________________
xcart 5.1.2 |
|||||||||
#33
|
|||||||||
|
|||||||||
Re: button graphics
Thanks Ashley, that's exactly what I needed!
|
|||||||||
#34
|
|||||||
|
|||||||
Re: button graphics
With the combined input from several experts on this thread, I have my custom add to cart button (working on other buttons). One problem that I've run into, the button is not clickable with only the products that have variants. Can someone point me to the file that I need to change for this.
Here's what I've done with my "add to cart" button: I made a new IMG class in my skin1.css as IMG.AddtoCart to control the positioning of my button image. Uploaded the changed .css to skin1/skin1.css on my server. I copied the button.tpl and named it as: atc_button.tpl I commented out the following: <!--<td> <{$img_type} src="{$ImagesDir}/but1.gif" class="ButtonSide" alt="{$title|escape}" /> </td> <td class="Button"{$reading_direction_tag}> <font class="Button">{$button_title}</font> </td> <td> <img src="{$ImagesDir}/but2.gif" class="ButtonSide" alt="{$title|escape}" /> </td>--> and added this: <td> <{$img_type} src="{$ImagesDir}/addtocart.jpg" class="AddtoCart" alt="{$title|escape}" /> </td> </tr> saved the updated atc_button.tpl and uploaded it to skin1/buttons/ folder on my server. I changed buttons/add_to_cart.tpl as: {include file="buttons/atc_button.tpl" button_title=$lng.lbl_add_to_cart href=$href title=$title style=$style} <!--{include file="buttons/button.tpl" button_title=$lng.lbl_add_to_cart href=$href title=$title style=$style}--> I also changed the following in related items modules/Upselling_Products/related_products.tpl: {include file="buttons/atc_button.tpl" style="button" button_title=$lng.lbl_add_to_cart href="javascript: self.location='cart.php?mode=add&productid=`$produ ct_links[proid].productid`&amount=1'"} <!--{include file="buttons/button.tpl" style="button" button_title=$lng.lbl_add_to_cart href="javascript: self.location='cart.php?mode=add&productid=`$produ ct_links[proid].productid`&amount=1'"}--> Christine
__________________
______________ version 4.1.9 Gold |
|||||||
#35
|
|||||||
|
|||||||
Re: button graphics
How can I change the Button color of Checkout button on cart?
Can anyone help me? |
|||||||
#36
|
|||||||
|
|||||||
Re: button graphics
Can someone direct me to the location that I can edit the style of the buttons text? I designed a new three file button, but its height is 21px. When I upload it, the files are forced to 14px. Also, I want to increase the size of the text and change it to black from white.
Thanks for any info.
__________________
X-Cart Gold 4.4.2 Linux VPS |
|||||||
#37
|
|||||||||
|
|||||||||
Re: button graphics
skin1.css, look for buttons styles
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#38
|
|||||||
|
|||||||
Re: button graphics
Thanks for the quick reply. I found out that mine was in skin1_c.css.
Do you know also where the location is for editing category links font color to the left?
__________________
X-Cart Gold 4.4.2 Linux VPS |
|||||||
#39
|
|||||||||
|
|||||||||
Re: button graphics
Same css file probably. Work on the site in Firefox with Firebug addon - it will tell you exactly which class you need to modify and you can even change in place to see results before actual edit of the file
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|