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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-24-2009, 05:41 PM
Anseur's Avatar
Anseur Anseur is offline
 
Join Date: Jun 2004
Location: Nottingham, UK.
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [Navbar] change tab height without affecting floatcontainer height below it.

When I change the navbar tab height in the stylevar system it also changes the height of the 'floatcontainer' below it. (the bit with the 'New Posts, Private Messages, FAQ, Calendar, Community, Forum Actions, Quick Links in it) I would like to make the tab height considerably taller so I can look at putting images below the words in the tabs, but when I do this the container below just looks silly because it's so big also. I would like to keep the container the default size but still make the tabs taller.

I had a look at the CCS with firebug and tried a bit of trial and error with related things, but I'm just not good enough with CSS to understand what I need to change. I think it's something to do with a div that contains the search box .globalsearch but when I alter things to do with that it either does nothing (probably because I'm doing it wrong) or it makes the search box jump out of the confines of the navbar.

The stylevar for the tab height seems to be used in several places in the css for different things, and used in combination with vb math tags to work out sizes of things. I would like to just find a CSS value for the container that I can change from the tab height style var into a hard coded height, but I guess it's not that simple.

Any guidance would be appreciated. Thanks.
Reply With Quote
  #2  
Old 04-05-2010, 09:40 PM
TigerC10's Avatar
TigerC10 TigerC10 is offline
 
Join Date: Apr 2006
Location: Austin, TX
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's not the "float container" you're talking about, I believe that's the selected tab's "subtab set". The float container is the drop down menu (for notifications and the like), is it not?

Anyway... The height of what you're talking about governed by the "line-height" property in the "advanced search" area. Edit the the vbulletin-chrome.css template and make the changes in red:

vbulletin-chrome.css
Code:
.navbar_advanced_search li a {
	text-decoration:none;
	font:{vb:stylevar navbar_font};
	/*line-height: {vb:stylevar navbar_tab_size.height}px;*/
	line-height: 26px;
}
All we're doing here is resetting the line-height to the default value of 26px rather than altering value to navbar_tab_size.height

@vbstaff - this might be considered a bug, as altering the line-height of the advanced search link (to be whatever navbar_tab_size.height is) moves the text of the whole subtab group down (which can sometimes be behind the drop down "notification-style" menus rather than being in their proper place above them). Either the line-height needs to be set relative to the font size of this subtab group or set to a static 26px so as not to interfere with drop down menus.
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: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.06354 seconds
  • Memory Usage 2,171KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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