vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Fitting logo into new style (https://vborg.vbsupport.ru/showthread.php?t=145800)

Nipple 04-26-2007 10:38 AM

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. :(

Coux 04-26-2007 11:26 AM

edit header template.. seems you have two cells and you only need one..

find
Quote:

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

i think will work.

Nipple 04-26-2007 11:41 AM

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:

&nbsp;
in the header, I tried removing that, but also no effect. I'll post the entire header here in case that helps.

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">
                              &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? :(


All times are GMT. The time now is 10:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04913 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete