vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Moving the login controls to the navbar (https://vborg.vbsupport.ru/showthread.php?t=282835)

skidoo800 05-12-2012 08:27 PM

Moving the login controls to the navbar
 
I have a problem with my login box, notifications, my profile, settings and log out, covering up the banners on the right side of the header. I would like to move them to either the nav bar or under the nav bar. Any help would be appreciated.

LifesGreatestGift 05-12-2012 08:30 PM

whats a link to the site in question. Maybe the proper use of positioning/padding/margin can fix this issue. Moving the content you request to the navbar would require moving of quite a bit of code from the header template to the navbar template.

skidoo800 05-12-2012 08:57 PM

<a href="http://www.seattleguns.net" target="_blank">www.seattleguns.net</a>
I saw the area that contains the positioning/padding/margin, but unsure how to work it, as I dont know much about this stuff. I just switched from phpbb to vbulletin in hopes I would be able to do more on my own.

LifesGreatestGift 05-12-2012 09:17 PM

add this to additional.css
Code:

.ad_global_header {
    position: absolute;
    top: 60px;
    left: 150px;
}

Style/Change as needed.

skidoo800 05-12-2012 09:23 PM

That worked. Thanks

LifesGreatestGift 05-12-2012 09:24 PM

Also open your navbar template
Find
Code:

<div class="navbar_advanced_search" style="position:absolute; top:7px; left:100px; width:100%;">
Replace with
Code:

<div class="navbar_advanced_search" style="position:relative; top:7px; left:-10px;">
As I see the current code/placement is not ideal as it puts the "Advanced Search" off your page and causes horizontal scroll.

LifesGreatestGift 05-12-2012 09:29 PM

1 Attachment(s)
Here is a before/after when you perform those code changes.

skidoo800 05-12-2012 09:43 PM

Looks like I got it, took a few minutes to search through the code.
Thanks again for the help.

LifesGreatestGift 05-12-2012 09:48 PM

glad i could help :)


All times are GMT. The time now is 02: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.01863 seconds
  • Memory Usage 1,720KB
  • 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
  • (3)bbcode_code_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