Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2007, 11:38 AM
Nipple Nipple is offline
 
Join Date: Sep 2003
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 04-26-2007, 12:26 PM
Coux Coux is offline
 
Join Date: Mar 2007
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 04-26-2007, 12:41 PM
Nipple Nipple is offline
 
Join Date: Sep 2003
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:54 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.03347 seconds
  • Memory Usage 2,195KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete