View Full Version : Header logo bug
lonrot
10-09-2006, 06:35 AM
I replaced the original logo.gif from the clean red template with my own, but it looks like the header.tpl address magically the none exitent original logo.gif and my logo.gif together, and it's horrible placed on my web page.
I have no idea of what to do since the other logo is already deleted. It's very strange.
Check it out: http://gainfreemoney.com
Thanks
redeye
10-09-2006, 08:02 AM
It is very strange - try emptying your tmp folder.
This is not a bug - you did not position logo image right.
Find this code in your css file:div.header
{
background-image: url('../img/header-bg.gif');
border-bottom: 1px solid #6C1313;
height: 110px;
}
div.logo
{
float: left;
padding: 15px 20px;
width: 183px;
}
First of all change background image to this:div.header
{
background-image: url('../img/logo.gif');
border-bottom: 1px solid #6C1313;
height: 110px;
}
Second - remove padding from div.logo like this:
div.logo
{
float: left;
padding:0;
}
lonrot
10-09-2006, 06:30 PM
Thanks now the logo is displaying correctly but, the search bar lost the position, and now is in the far right corner.
I tried to replace some div search fields to "center" but haven't see a change.
Try to add line:
width: 183px;
back to div.logo
lonrot
10-10-2006, 01:18 AM
It worked perfectly fine, one last question, can I get rid of that that search icon? ico-search.gif
:)
Just find and remove it in header.tpl file
lonrot
10-10-2006, 07:25 AM
Thanks, all it's done and looks very nice.
The only remaining problem(hopefully) is that if I view the site using Internet Explorer I'll see the logo twice.
Thank you so much WTM
Michael Hill
10-12-2006, 06:40 AM
Hi, Lonrot!
Just remove from header.tpl declaring your logo.gif)) keep it only in div.header style.css.
Thanks)
lonrot
10-13-2006, 05:48 AM
Thank you very much :)
Michael Hill
10-13-2006, 06:56 AM
You are always wellcome!))
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.