| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
"Add To Cart" button background size | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
"Add To Cart" button background size
Hi,
Can anyone help me find the file where you specify the height of a background image of the "Add to cart" button- butbg.gif In buttons/button.tpl you can change the sizes for the front of the button (but1.gif) and back of the button ( but2.gif) but it doesn't seem to have anything to do with the backround. I looked into the skin1.css where the background is specified and there doesn't seem to be any size at all. Please help me! Thank you! X-cart 4.11 RMA, Config, Affiliate, AOM
__________________
Elena XCart 4.011 |
|||||||
#2
|
|||||||
|
|||||||
Just specify the height of the middle cell in button.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
That's the problem. I DID specify the cell height. But it still shows up half way as the original 16. It seems like it's specified somewhere else. Any ideas?
__________________
Elena XCart 4.011 |
|||||||
#4
|
|||||||
|
|||||||
Hi,
What you can do is removing the background setting from skin1.css and all put in the button.gif file like I did in my site: Carts n Tools .com
__________________
Carts n Tools.com - New Root HTML Generator - Templates | Add-Ons | Services - XCart 4.0.x |
|||||||
#5
|
|||||||
|
|||||||
Thank you! It worked. I just deleted it from the CSS file and put it as a cell background in the button.tpl. It looks perfect. Thanks!
__________________
Elena XCart 4.011 |
|||||||
#6
|
|||||||
|
|||||||
Just keep in mind that that bit of code (background) is no longer a valid html 4.01 tag.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|