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)
-   -   Make the logo banner float to match different resolutions (https://vborg.vbsupport.ru/showthread.php?t=172942)

setishock 03-13-2008 08:12 PM

Make the logo banner float to match different resolutions
 
VB 3.7 beta 5
The logo banner is 1640 by 139 and replaced the out of the box logo. On my desk system the resolution is 1680 x 1050. On my laptop it's 1280 x 800. On the laptop the logo banner runs off the right side of the screen. On the desk system on which it was created, it works fine.
My question is:
How do you make the logo banner float to match the different screen resolutions?
www.animeappeal.com

I am not a coder so please have pity on me and make it simple.

carrlos 03-15-2008 01:57 AM

AdminCP > Style Manager > Common Templates > header

Use this code:
Code:

<!-- logo -->
<a name="top"></a>
<center>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/headbg.gif)">
<tr>

<td align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/head_left.gif"  border="0" alt=""/></a></td>
<td align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/head_right.gif" alt="" /></td>
</tr>
</table>
</center>

<!-- /logo -->
<!-- content table -->
$spacer_open

$_phpinclude_output

You have to split your header into three sections.
  1. head_left.gif - the left most portion of your header
  2. head_right.gif - the right most portion of your header
  3. headbg.gif - a one or two pixel "filler" that will keep the header looking full no matter what the width. It should be solid for best effect.
Upload the three files to your /images/misc folder and you're ready!

anakayam.us 03-15-2008 02:58 AM

u can setting ur banner to make more little.

setishock 03-23-2008 11:17 AM

Thanks for answering my question. Sorry it took so long to get back to read it. I moved a good ways up the east coast last week and my brain is still reeling. I'll let you know what happens.

setishock 03-26-2008 09:54 PM

Carrlos,
It works perfectly. Thank you.


All times are GMT. The time now is 05:29 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.01114 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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