vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Tips & Tricks (https://vborg.vbsupport.ru/forumdisplay.php?f=239)
-   -   [3.7.x] Placing your header in the center (https://vborg.vbsupport.ru/showthread.php?t=169487)

Reecey 02-02-2008 10:00 PM

[3.7.x] Placing your header in the center
 
I've made this article as other article that have been made are out-of-date (of the ones I've seen).

Go to your Admin CP

Click Styles & Templates

Choose the style you would like to make the header image center on and press the << >> that is to the right of the style name.

Find the template called "header".

In the box below the large code edit box ( the search box) copy and paste this into it:
Code:

<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
It should then highlight the text inside the large box delete that text and enter this where the deleted text was:
Code:

<td align="center"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
Thank you For Using My Guide To Aid Your vBulletin Forum :D

Opserty 02-03-2008 11:34 AM

Quote:

Choose the template you would like to make the header image center on and press the << >> that is to the right of the style name.
Don't you mean "style"?

Quote:

Find the template called "header" under the category "Forum Home Templates".
The header template is not under any category its listed just as a template.

I'm guessing English isn't your first language, it was just very confusing when I read it at first, thats all.

Reecey 02-03-2008 02:02 PM

Thankyou change made and article updated :D

breakerboy 05-25-2008 08:11 PM

Thanks so much..been trying to figure this outt!!!

Daisyboo 07-29-2008 11:03 AM

I'm trying to do this but I don't have that code, so I'm stuck!

Lethality187 07-31-2008 07:35 AM

You should still be able to find your header code and add the <td> tag.

puppetmaster222 08-18-2008 03:32 AM

thanks, nice quick fix to get the logo centered.

KevinGupta 08-29-2009 03:18 PM

This is very hard for me to understand...
Can someone please rephrase the whole thing?


All times are GMT. The time now is 02:22 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01023 seconds
  • Memory Usage 1,722KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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