The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to move CONTACT US from the footer to navbar
This used to be very easy in vB 4, where there was means to edit navbar from TEMPLATE MANAGER and where the footer contained the code $show['contactus'] that can be just simply moved ?with minor adjustments- to fit in the navbar
Look up https://www.vbulletin.com/forum/foru...-top-menu-help But cant seem to find any similar means on vB5 To simply remove CONTACT US from the footer menu and sort of transferring it to the navigation bar menu Also inspecting the page with firebug shows only that CONTACT US belongs to footer-tabbar, but within footer.css itself we cant see how to remove any footer-tabbar items such as CONTACT US or any other Any ideas ? thanks all.. |
#2
|
||||
|
||||
Login to your site as admin.
Top of the forum homepage click "edit site" Then "navigation bar" once admin menu appears. Then new Navigation Item and add your link. Do the similar procedure to remove contact us link from footer. |
#3
|
|||
|
|||
latest topic update :
This seems to be more of a bug that needs to be reported try to delete ALL BUTTONS from site builder -----> footer -----> main navigation bar it seems to be that you have to leave at least one button "for some reason" look up https://www.vbulletin.com/forum/foru...oter-to-navbar But after all, any vB wizards that can provide a work around "without using additional.css"? Just to remove all footer -----> main navigation bar buttons ? Charity will be greatly appreciated :'-) |
#4
|
||||
|
||||
You have to use additional.css or edit footer template if you want o hide all links in the footer.
additonal.css Code:
#footer-tabbar .js-footer-nav-list {display: none;} Or edit footer and remove code: Code:
<ul class="nav-list h-right js-footer-nav-list h-margin-right-xxl b-comp-menu-horizontal js-comp-menu-horizontal js-comp-menu--dropdown-on-xsmall b-comp-menu-dropdown--inactive" data-dropdown-trigger-phrase="go_to_ellipsis" data-dropdown-menu-classes="h-margin-vert-l b-comp-menu-dropdown--direction-up" data-dropdown-trigger-classes="b-comp-menu-dropdown__trigger--arrow"> {vb:hook 'footer_right'} <vb:each from="navbarItems" value="navbarItem"> {vb:set navbarTitle, {vb:raw navbarItem.title}} <vb:if condition="$targetAttr = $navbarItem['newWindow'] == '1' ? ' target=\'_blank\'' : ''"></vb:if> <vb:if condition="!empty($navbarItem['attr'])"> {vb:strcat targetAttr, ' '} {vb:strcat targetAttr, {vb:raw navbarItem.attr}} </vb:if> {vb:set normalizedUrl, {vb:raw navbarItem.normalizedUrl}} <vb:if condition="$itemUrl = $navbarItem['isAbsoluteUrl'] ? $normalizedUrl : ($baseurl . '/' . $normalizedUrl)"></vb:if> <vb:if condition="$requestUri = explode('?', $_SERVER['REQUEST_URI'], 2)"></vb:if> <vb:if condition="$requestUri = array_shift($requestUri)"></vb:if> <vb:if condition="$atCurrentItem = ($requestUri == substr($itemUrl, -strlen($requestUri)))"></vb:if> <vb:if condition="$currentClass = $atCurrentItem ? 'current' : ''"></vb:if> <vb:if condition="$atCurrentItem">{vb:set subnavItems, {vb:raw navbarItem.subnav}}</vb:if> <li class="{vb:raw currentClass}"> <a{vb:raw targetAttr} href="{vb:var itemUrl}">{vb:phrase {vb:raw navbarTitle}}</a> </li> </vb:each> <li><a href="#" class="js-footer-go-to-top">{vb:phrase go_to_top}</a></li> </ul> |
Благодарность от: | ||
Anton Rahman |
#5
|
|||
|
|||
thanks SEVEN SKINS -again- your solution was better and more comprehensive than that of vBulletin support
look up their solution on https://www.vbulletin.com/forum/foru...oter-to-navbar Many thanks and best wishes |
#6
|
|||
|
|||
Quote:
Code customisations are completely unsupported and may break following an upgrade. That's not to say you shouldn't apply them, as long as you understand the implications, however, having a public dig at the support team for not providing support for something we do not provide support for, isn't really on. |
#7
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|