vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Centering Logo and Making full width (https://vborg.vbsupport.ru/showthread.php?t=35003)

Nemesis77 02-12-2002 06:12 AM

Does anyone have a template mod so I can center my logo and make it the full width of the screen like here at vb.org or a hack for adding a new header

I added <center> </center> around the code in the header for my logo but it stays to the left and pushes the forum to the right and bunches them together.

Thanks for any help.

lifesourcerec 02-12-2002 06:36 AM

I'm new to messing with vB, but what you are looking for is in the "header" template between:

<!-- logo and buttons -->

<!-- toplinks -->

which is at the very top of the template. I removed everything between those and just built a full screen gif into a table (used Dreamweaver). Make sure you store your *.gif/jpg in the forums/images folder and use variable { imagesfolder }/gif/jpg name. (minus the space).

As I said, I'm new, so wait on more replies before you try it and as always, back up your database before hacking :)

Nemesis77 02-12-2002 07:36 AM

I got my logo Centered perfectly over the top of my board. My images width is the same as the logo for VB.org. 765 pixels Wide.

But my logo still isn't showing the full width of the screen.

here's what I used in my header to center the logo

<table width="100%" border=0 cellspacing=0 cellpadding=0>
<tr>
<td background="{ imagesfolder}/background.gif" align="center"><img border="0" src="{ imagesfolder}/dazelogo.jpg"></a></td>
</tr>
</table>

M.Smith 02-12-2002 08:37 AM

the one on this forum probably looks something like this
Code:

<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td background="https://vborg.vbsupport.ru/images/side_image.gif"></td><td width="765"><a href="index.php?s="><img src="https://vborg.vbsupport.ru/images/logo.gif"></a></td><td background="https://vborg.vbsupport.ru/images/side_image.gif"></td></tr></table>
you could modify your code to this:
Code:

<table width="100%" border=0 cellspacing=0 cellpadding=0>
<tr>
<td background="{ imagesfolder}/background.gif" align="center"><img border="0" src="{ imagesfolder}/dazelogo.jpg" width="100%"></a></td>
</tr>
</table>


Nemesis77 02-12-2002 11:17 AM

Thanks For all your help Guys. I got the code. Incase anyone else needs the same this is what I used.

Code:

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td background="{ imagesfolder}/rightextend.jpg" nowrap height="80">
      <center><a href="index.php?s="><img src="{ imagesfolder}/dazelogo.jpg" width="765" height="80" border="0"></a></center>
    </td>
  </tr>


lifesourcerec 02-26-2002 01:16 AM

what is the rightextend.jpg?

Nemesis77 02-26-2002 03:19 AM

The extend.jpg is just a small pic 1 pixel wide by the same hight as your logo. it's the same color as the end of your logo. if you notice for VB.org's logo it doesn't actuall extend the full width. On both side of the logo is the extend.jpg file.

Mathiau 03-17-2002 01:03 AM

See below :)

Mathiau 03-27-2002 04:58 AM

All i used was


$themeheader
$thememenu
$themeleftcolumn
<!-- content table -->
<table bgcolor="#0E3652" width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>



BUT this only centers the logo and buttons, now how can i get my forum tables to stay centered with the Logo?

As when u resize your IE window, they do not stay centered and are off to one side....

http://66.207.199.6/forums/index.php?s=

FWC 03-27-2002 05:10 AM

Quote:

Originally posted by Mathiau
All i used was


$themeheader
$thememenu
$themeleftcolumn
<!-- content table -->
<table bgcolor="#0E3652" width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>

Try:

<!-- content table -->
<table bgcolor="#0E3652" width="100%" cellpadding="10" cellspacing="0" border="0" [high]align="center"[/high]>

Nemesis77 03-27-2002 07:42 AM

Quote:

Originally posted by Mathiau
All i used was


$themeheader
$thememenu
$themeleftcolumn
<!-- content table -->
<table bgcolor="#0E3652" width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>



BUT this only centers the logo and buttons, now how can i get my forum tables to stay centered with the Logo?

As when u resize your IE window, they do not stay centered and are off to one side....

http://66.207.199.6/forums/index.php?s=



Add <center> below the code above. always works for me

Mathiau 03-27-2002 09:15 AM

SWEET!!

okay, this support rules!!..lol


All times are GMT. The time now is 02:05 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.01101 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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