Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Transparent Gifs Not Working

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-29-2008, 06:42 AM
  MrBadass's Avatar 
MrBadass MrBadass is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 42
 

Question Transparent Gifs Not Working

I'm using the 7dana template on my site, www.dalidecals.com, and I'm having an issue with transparent gifs not showing the transparency. I was initially having the problem with the "Corner of Trust" image I got from Comodo. Now I'm having the same issue with some of the images from my live help software. Anyone have any ideas on what's causing this or how to fix it?
__________________
Dali Wall Decals
www.dalidecals.com
X-Cart Version 4.1.10
Reply With Quote
  #2  
Old 08-29-2008, 06:51 AM
  MrBadass's Avatar 
MrBadass MrBadass is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 42
 

Default Re: Transparent Gifs Not Working

BTW: None of those images are currently being displayed. I took them down because they don't look correct.
__________________
Dali Wall Decals
www.dalidecals.com
X-Cart Version 4.1.10
Reply With Quote
  #3  
Old 08-29-2008, 06:57 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Transparent Gifs Not Working

Are you sure they are saved as transparent gifs? Just because it is a gif doesn't mean it is transparent.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 08-29-2008, 07:02 AM
  MrBadass's Avatar 
MrBadass MrBadass is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 42
 

Default Re: Transparent Gifs Not Working

Quote:
Originally Posted by balinor
Are you sure they are saved as transparent gifs? Just because it is a gif doesn't mean it is transparent.

100% positive...been a graphic designer for 15 years.

I also tried png's with transparency and that wasn't working either.
__________________
Dali Wall Decals
www.dalidecals.com
X-Cart Version 4.1.10
Reply With Quote
  #5  
Old 08-29-2008, 07:19 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Transparent Gifs Not Working

Ok, just asking Can you add one back in so we can see what is happening?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 08-29-2008, 07:27 AM
  MrBadass's Avatar 
MrBadass MrBadass is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 42
 

Default Re: Transparent Gifs Not Working

Quote:
Originally Posted by balinor
Ok, just asking Can you add one back in so we can see what is happening?

No sweat! That was the first thing I checked.

Corner of Trust is back up...you'll see the white portion of it. Thanks for the help!
__________________
Dali Wall Decals
www.dalidecals.com
X-Cart Version 4.1.10
Reply With Quote
  #7  
Old 08-29-2008, 07:39 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Transparent Gifs Not Working

Check your IMG class in the stylesheet - make sure you didn't add a white background to it
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 08-29-2008, 07:42 AM
  MrBadass's Avatar 
MrBadass MrBadass is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 42
 

Default Re: Transparent Gifs Not Working

Quote:
Originally Posted by balinor
Check your IMG class in the stylesheet - make sure you didn't add a white background to it

Good call! Hadn't even thought of that. I'll give it a shot and post back in a little bit. Thanks again!
__________________
Dali Wall Decals
www.dalidecals.com
X-Cart Version 4.1.10
Reply With Quote
  #9  
Old 08-29-2008, 08:19 AM
  MrBadass's Avatar 
MrBadass MrBadass is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 42
 

Default Re: Transparent Gifs Not Working

Ok...so I did some poking around. Here's where the issue is.

Code:
BODY,DIV,TH,TD,P,INPUT,SELECT,TEXTAREA,TT { color: #232323; font: 10px Verdana, Arial, Helvetica, Sans-serif; background-color: #FFFFFF; }

Problem now is if I take that background color out, it ruins the look of the site.

I tried adding a css class with background-color: none, but that didn't seem to work. Could it be because the images that are transparent are both in javascripts?
__________________
Dali Wall Decals
www.dalidecals.com
X-Cart Version 4.1.10
Reply With Quote
  #10  
Old 08-29-2008, 09:29 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Transparent Gifs Not Working

That shouldn't have anything to do with the image, unless you put the image inside a table cell or div tag.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:46 AM.

   

 
X-Cart forums © 2001-2020