vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I edit spacing on secondary Navbar? (https://vborg.vbsupport.ru/showthread.php?t=313111)

grom815 07-20-2014 09:33 PM

How do I edit spacing on secondary Navbar?
 
1 Attachment(s)
How do I edit the spacing inbetween the primary navbar and secondary navbar? I can edit the space inbetween the words, the colors of the text, and the size of the boxes, but I don't know how to move the text down a bit.
(By the way, what is the secondary navbar actually called?)

The images are attached. The first one is what mine looks like. The second is what I want it to look like.

tbworld 07-20-2014 09:58 PM

For advice on CSS we need a link to your site, unless you are using the vbulletin default template structure. All I can offer is a starting point, which may or may not work with your style.

The following code will adjust the height of the line or the lines margin and its associated container. You will have to alter the actual values to your style.

Code:

.navbar {
    height: 62px;  /* container size */
}

.navbar ul {
  line-height: 40px;  /* this may work for you */
}

or

.navbar ul {
  margin-top: 10px;  /* or this may work for you */
}

[/code]

grom815 08-02-2014 11:49 PM

Quote:

Originally Posted by tbworld (Post 2507544)
For advice on CSS we need a link to your site, unless you are using the vbulletin default template structure. All I can offer is a starting point, which may or may not work with your style.

The following code will adjust the height of the line or the lines margin and its associated container. You will have to alter the actual values to your style.

Code:

.navbar {
    height: 62px;  /* container size */
}

.navbar ul {
  line-height: 40px;  /* this may work for you */
}

or

.navbar ul {
  margin-top: 10px;  /* or this may work for you */
}

[/code]

Thanks a ton!
The first one worked perfectly.
The second one worked, but it lowered the 'Advanced' search link all the way to the right.


All times are GMT. The time now is 01:14 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.01054 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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