Customers SupportDocumentation




Reply
 
Thread Tools
  #1  
Old 27-06-2008, 01:50 AM
Member
 
Join Date: Jun 2008
Posts: 23
header picture problem

MasteroX,

I am trying to add a new logo to my site but I am having a problem. I can't get the gray to match with the gray background of my forums because of its gradient. The top of my image is looking right but the bottom half is showing an outline..I tried doing a gradient on my logo but not having any luck. I guess I am going to add my banner in the Ad banner below menu section and just use a white background. Wanted to check and if see if you had any other ideas because I would really like to have it on the top. I attach an image because I am taking it down until I can resolve the issue. See how it looks great at the top but you can see the corners on the bottom?

Thanks
Attached Thumbnails
header picture problem-screenshot.jpg  
Reply With Quote
  #2  
Old 27-06-2008, 12:17 PM
vBulletin Skin Zone Staff
 
Join Date: May 2007
Posts: 1,811
Re: header picture problem

Hello,

I would try saving the image as a PNG and in the style variables make sure you change the logo image extension from gif to png. This would be the easiest way round it.

Let me know how it goes and I'll fill you in what to do next.
Reply With Quote
  #3  
Old 27-06-2008, 02:03 PM
Member
 
Join Date: Jun 2008
Posts: 23
Re: header picture problem

First I tried just making sure to change the gray background, save as an PNG then uploaded it back. It made it worst. Then I changed it to a transparent background then saved as PNG. Works great now. I had no idea you could user transparent background for PNG files.

Thanks MaestroX for fixing another problem of mine
Reply With Quote
  #4  
Old 27-06-2008, 02:43 PM
vBulletin Skin Zone Staff
 
Join Date: May 2007
Posts: 1,811
Re: header picture problem

No problem, transparent PNG are much more fexible than gifs.

The next step is to make sure browsers that don't have PNG support will correctly render the image. You can do this with a common bit of javascript.

Add this into your headerinclude template:

Code:
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="clientscript/vbulletin_pngfix.js?v=$vboptions[simpleversion]"></script>
<![endif]-->
and upload the attach file (unzip first) into your clientscript folder.
Attached Files
File Type: zip vbulletin_pngfix.zip (755 Bytes, 13 views)
Reply With Quote
  #5  
Old 27-06-2008, 10:16 PM
Member
 
Join Date: Jun 2008
Posts: 23
Re: header picture problem

That is nice of you to provide me with the extra information. Thanks!!
Reply With Quote
  #6  
Old 28-06-2008, 12:45 AM
vBulletin Skin Zone Staff
 
Join Date: May 2007
Posts: 1,811
Re: header picture problem

No problem I used the same solution on the new design here.
Reply With Quote
Reply

Thread Tools



All times are GMT. The time now is 10:29 PM.