Tour Package
Remove Duplicate Main Menu
The main menu will be displayed twice on the page when Max Mega Menu is enabled. To fix this, go to Tour Package > Page Style > Additional Style (CSS) and insert the following:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
/* Hide duplicate menu */ .mega-menu-main-menu div#main-superfish-wrapper { display: none; } /* Remove border from top of menu */ .mega-menu-main-menu div.top-navigation-wrapper { border: none; } /* Remove padding on smaller screens */ .mega-menu-main-menu div.header-wrapper .gdl-navigation-wrapper { padding-bottom: 0 !important; } |
Hide Logo and make menu full width
To hide the theme logo and make the menu span the full width of the page, go to Tour Package > Page Style > Additional Style (CSS) and insert the following:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
/* Hide Logo */ .mega-menu-main-menu .logo-wrapper { display: none; } /* Float menu back over to the left */ .mega-menu-main-menu div.gdl-navigation-wrapper { float: none; } /* For Boxed Layout, allow menu to expand edge to edge of box */ .mega-menu-main-menu .boxed-style .header-container { margin: 0; padding: 0; max-width: none; } |
Fix JavaScript Error
We are working with the theme authors for this compatibility fix to be included in the next “Tour Package” update. In the mean time, you will need to edit a core theme file.
Using an FTP editor, edit the “wp-content/themes/tourpackage/javascript/gdl-scripts.js” file:
Find:
1 |
function init_navigation_sliding_bar(){ |
Replace with:
1 2 3 4 |
function init_navigation_sliding_bar(){ if (!current_bar.length) { return; } |