vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How to increase header height (how to tutorial) (https://vborg.vbsupport.ru/showthread.php?t=296864)

travis hill 04-04-2013 11:34 PM

How to increase header height (how to tutorial)
 
I'm not sure if this will work for everyone, but it worked for me. After searching for a few hours I couldn't find anything on how to increase the height of the header on vBulletin 4.2. Just a bunch of people asking how to do it...

So this is what I have came up with. It seems that the header size directly correlates with the size of your logo. "vbulletin4_logo.png" Since I am using a header alone and not a logo this is what I did.

I created a transparent image in photoshop that was 1 pixel wide, and the height, in my case 250px high. I saved the image as a transparent .png named "vbulletin4_logo.png" and uploaded it to my images/misc folder in the vbulletin folder in my ftp. And boom after many hours it finally worked.

http://www.theperfectpose.com/forum


Hopes this helps.

kNeo 04-05-2013 03:46 AM

For future reference you can modify the height of the header by adding the following to additional.css:

Code:

#header {
height: 250px;
}

Change 250px to whatever number you want.

I think the vB team's goal here was to make it so the header automatically changed according to the size of the logo you used.

ps: you can add the code above to your own additional.css and then change your logo to be wider so people can click it to go back "home".

EDIT: full code to adjust height of header and make your clickable area wider:

Code:

#header {height:300px;}
.logo-image {width:450px;}



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

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.00991 seconds
  • Memory Usage 1,711KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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