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)
-   -   Button Help Please... (https://forum.x-cart.com/showthread.php?t=30604)

MacAspen 04-21-2007 08:05 AM

Button Help Please...
 
Hi again...

I want to change my default buttons but I can't seem to get rid of the old butbg.gif. I went into the image directory and tried renaming it, I've tried deleting it from the CSS and from the image directory, but it still is showing up as a background image. The end caps change but the background (middle section) won't go away.:-k

Please take a look at the problem and let me know how to get rid of the old butbg.gif...
http://aspenbestbuynetwork.com/product.php?productid=16133&cat=0&page=1

Thanks,

RCJ

photo 04-21-2007 09:52 AM

Re: Button Help Please...
 
I just checked your css file and it showed that it is still there.

Code:

.Button {
    color: #3C3C3C;
    font-family: Arial;
    font-weight: bold;
    font-size: 11px;
    text-decoration: none;
    background-image: url(images/butbg.gif);
    background-color: #FF0000;
}


MacAspen 04-21-2007 10:09 AM

Re: Button Help Please...
 
Please take another look because... I just renamed my image to butbg.gif which partially worked... now my complete button shows but there's a duplicate image of the butbg.gif appearing with the text.


Thanks for helping.

[IMG]file:///C:/DOCUME%7E1/HP_ADM%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg[/IMG]

photo 04-21-2007 10:17 AM

Re: Button Help Please...
 
Quote:

Originally Posted by MacAspen
Please take another look because... I just renamed my image to butbg.gif which partially worked... now my complete button shows but there's a duplicate image of the butbg.gif appearing with the text.


Thanks for helping.

[IMG]file:///C:/DOCUME%7E1/HP_ADM%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg[/IMG]


You probably just need to clear your browser cache. You can also try going in your admin to Summary/Tools section and Force cache generation.

MacAspen 04-21-2007 11:35 AM

Re: Button Help Please...
 
I refresh continually... I dumped the browser cache... cleared the templates cache. I didn't see an option for 'Force Cache Generation' but I've been able to put different background colors in and they appear just fine. I've tried typing in 'transparent' for background color and it turns up white BUT when I select default background, it produces the duplicate image. So I don't think it anything that isn't being purged from memory.

I'm lost... shouldn't be this difficult. If I replace my image with the default X-Cart image it works... I don't get it. I've tried 3 differnt version of my image with various transparency options and still no luck.

Thanks again!

MacAspen 04-21-2007 12:44 PM

Re: Button Help Please...
 
Figured in out... buttons/button.tpl had vertical alignment set on 'default'. Switched to top, adjusted 'top' padding and No Problem!

Thanks for your help.

RCJ

photo 04-21-2007 01:01 PM

Re: Button Help Please...
 
Glad you sussed it out.


All times are GMT -8. The time now is 03:31 PM.

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