PDA

View Full Version : Fitting logo into new style


Nipple
04-26-2007, 11:38 AM
I downloaded and installed a new style, and it's great, but...problem is, I had a custom logo for my previous style and it has a fixed size, 770x103. I am having trouble figuring out how to make the logo fit in nice and tight and not leaving blank areas or dark bars on either side.

If you don't mind taking a look to see what I mean, my forum's here (http://www.zebolt.com). I have set the forum width from the stylevars to 770 to match the logo but it didn't help...

I think there should be a simple solution to this but I am just not getting it. :(

Coux
04-26-2007, 12:26 PM
edit header template.. seems you have two cells and you only need one..

find <td>&nbsp;</td> and remove it..

i think will work.

Nipple
04-26-2007, 12:41 PM
Hi Coux, thanks for your reply. The piece of code you posted isn't in the header. It's in the navbar section, I tried removing it but it didn't have any effect so I put it back. There is a sole &nbsp; in the header, I tried removing that, but also no effect. I'll post the entire header here in case that helps.

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]" background="$stylevar[imgdir_misc]/top_x.gif"><img src="$stylevar[imgdir_misc]/top_left.gif" align="$stylevar[left]"></td>
<td align="$stylevar[right]" background="$stylevar[imgdir_misc]/top_x.gif"><img src="$stylevar[imgdir_misc]/top_right.gif" align="$stylevar[right]"></td>
</tr>
<tr>
<td align="$stylevar[left]" background="$stylevar[imgdir_misc]/dark_yellow/black_logo_x.gif"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" align="center" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" background="$stylevar[imgdir_misc]/dark_yellow/black_logo_x.gif">
&nbsp;
</td>
</tr>
<tr>
<td align="$stylevar[left]" background="$stylevar[imgdir_misc]/nav_x.gif" height="22><img src="$stylevar[imgdir_misc]/nav_left.gif" align="$stylevar[left]">
<table border="0" cellpadding="0" cellspacing="0" align="left">
<tr>
<td><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/link_forum.gif" border="0"></a></td>
<td><if condition="$show['member']"><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/link_usercp.gif" border="0"></a></if></td>
<td><if condition="$show['registerbutton']"><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/link_register.gif" border="0"></a></if></td>
<td><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/link_members.gif" border="0"></a></td>
<td><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/link_calendar.gif" border="0"></a></td>
<td><a href="faq.php$session[sessionurl_q]" accesskey="5"><img src="$stylevar[imgdir_misc]/link_faq.gif" border="0"></a></td>
<td><if condition="$show['member']"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><img src="$stylevar[imgdir_misc]/link_logout.gif" border="0"></a></if></td>
<td><img src="$stylevar[imgdir_misc]/link_rs.gif" border="0"></td>
</tr>
</table>
</td>
<td align="$stylevar[right]" background="$stylevar[imgdir_misc]/nav_x.gif"><img src="$stylevar[imgdir_misc]/nav_right.gif" align="$stylevar[right]"></td>
</tr>
<tr>
<td colspan="2">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#1B1B1B">
<tr>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/upper_left.gif" width="12" height="11" /></td>
<td width="100%" align="left" valign="top"><img src="$stylevar[imgdir_misc]/upper_middle.gif" width="100%" height="11" /></td>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/upper_right.gif" width="12" height="11" /></td>
</tr>
<tr>
<td width="12" align="left" valign="top" background="$stylevar[imgdir_misc]/left_middle.gif" width="12" height="100%"><img src="$stylevar[imgdir_misc]/left_middle.gif" width="12" height="100%" /></td>
<td>

<!-- content table -->
$spacer_open

$_phpinclude_output

Thanks for your effort.

No one has any idea? :(