vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Reduce Navbar's Length (https://vborg.vbsupport.ru/showthread.php?t=321515)

Milobil 01-17-2016 12:46 PM

Reduce Navbar's Length
 
Hi,

i would like to know if there is any way to modify the length of my navbar, which is like this :

http://img11.hostingpics.net/pics/83148046sq.png

I would like to reduce it so that my logo can entirely get displayed.

Thanks for your help

Dragonsys 01-17-2016 01:31 PM

Stylevar -> navbar_margin

Milobil 01-17-2016 01:43 PM

I have this and unfortunately it doesn't change anything :

http://img11.hostingpics.net/pics/58152274sq.png

Dave 01-17-2016 01:45 PM

I believe you have to add some custom CSS for that to CSS > additional.css.

HTML Code:

.navtabs{
  width: 750px;
}

Modify 750 to whatever width you need.

Milobil 01-17-2016 01:55 PM

Well thanks for your answer,

I have tried with the same code you gave me (replacing navtabs with navbar) but the problem is that the width is reduced (and thus removed) from the right, whereas i would like to reduce it from the left (because my logo is on the left), if anyone can help me please.

http://img11.hostingpics.net/pics/58612940sq.png

Dragonsys 01-17-2016 11:43 PM

Quote:

Originally Posted by Milobil (Post 2562820)
I have this and unfortunately it doesn't change anything :

Yes it does. Change the Left margin, this will move the Navbar to the right, unless your style doesn't use the StyleVars properly. If so, then you need to set left margin in the css code Dave posted above.

Milobil 01-18-2016 03:19 PM

@Dragonsys

Thanks for answer, could you tell me what's the code to implement, because I don't really know how to change the margin.

Thanks

Dragonsys 01-18-2016 03:47 PM

Quote:

Originally Posted by Milobil (Post 2562889)
@Dragonsys

Thanks for answer, could you tell me what's the code to implement, because I don't really know how to change the margin.

Thanks

Code:

.navtabs{
  width: 750px;
    margin-left: 80px;
}


Milobil 01-19-2016 04:04 PM

Quote:

Originally Posted by Dragonsys (Post 2562893)
Code:

.navtabs{
  width: 750px;
    margin-left: 80px;
}



Thanks mate (i had to use navbar instead of navtabs).


All times are GMT. The time now is 03:48 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.01118 seconds
  • Memory Usage 1,727KB
  • 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_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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