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)
-   -   "Add To Cart" button background size (https://forum.x-cart.com/showthread.php?t=12305)

happy5ru 02-20-2005 06:20 PM

"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

balinor 02-21-2005 05:10 AM

Just specify the height of the middle cell in button.tpl.

happy5ru 02-21-2005 09:12 AM

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?

Yang Xu 02-21-2005 01:05 PM

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

happy5ru 02-21-2005 04:42 PM

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!

balinor 02-21-2005 06:09 PM

Just keep in mind that that bit of code (background) is no longer a valid html 4.01 tag.


All times are GMT -8. The time now is 07:32 AM.

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