The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Fitting logo into new style
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. 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. |
#2
|
|||
|
|||
edit header template.. seems you have two cells and you only need one..
find Quote:
i think will work. |
#3
|
|||
|
|||
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
Code:
Code:
<!-- 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"> </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&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 No one has any idea? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|