The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey all,
I was wondering if anyone knew how to move the facebook connect, and top links in the vb4 header like this website has done: http://www.businessadviceforum.com/ It would be greatly appreciated. |
#2
|
|||
|
|||
![]()
I tested in the default style and it works, just remember to change the css "margin-top" value to fit your need
in navbar template: search for Code:
<ul class="navbar_advanced_search"> <li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li> </ul> Find Code:
<span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search<vb:if condition="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="(is_browser('ie') AND !is_browser('ie', 7) AND !is_browser('ie', 8))">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span> Code:
<span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search<vb:if condition="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="(is_browser('ie') AND !is_browser('ie', 7) AND !is_browser('ie', 8))">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span> <div class="navbar_advanced_search" style="position:absolute; top:7px; left:100px; width:100%;"><a href="search.php" accesskey="4">Advanced Search</a></div> This for moving top links to under navbar Code:
.toplinks { color: #FFFFFF; font: 11px Arial,Tahoma,Calibri,Verdana,Geneva,sans-serif; margin-top: 85px; position: absolute; right: 20px; text-align: right; top: 0; z-index: 1; } Code:
.globalsearch { width: 290px; } Code:
https://www.vbulletin.com/forum/showthread.php/361140-Moving-Facebook-Connect-out-of-the-header-template-and-into-the-navbar-template Added some changes, I think that's all, hope I didn't miss anything. |
#3
|
|||
|
|||
![]()
Thanks mate it works now
![]() |
#4
|
|||
|
|||
![]()
You are welcome, nice to see it helps.
Jeff |
#5
|
|||
|
|||
![]()
Both Lynne's and your info has been a big help, thanks!
Just wondering how to place the facebook connect next to the navbar search? |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|