Destroyed Header Menu in Edit-Mode
Permalink Browser Info Environment
The BB_DROP_DOWN_MENU Header-Menu is totally f*cked up when in Edit mode.
I figured out that there's a "work-around" in the elements/header.php to just use another class for the wrapping DIV to force the use of default autonav design.
BUT it's totally easy to have the correct BB_DROP.... design also in edit mode:
edit the /packages/jb_bold_and_beautiful/blocks/autonav/templates/bb_drop_down_menu/view.php on line 223:
and add after the very last line:
now we need to alter the packages/jb_bold_and_beautiful/themes/jb_bold_and_beautiful/elements/header.php
and replace this (directly after the opening of "wrapper"-DIV):
with this:
Sorry, but when buying a 30USD-Theme I expect everything working without the need of coding around!
I figured out that there's a "work-around" in the elements/header.php to just use another class for the wrapping DIV to force the use of default autonav design.
BUT it's totally easy to have the correct BB_DROP.... design also in edit mode:
edit the /packages/jb_bold_and_beautiful/blocks/autonav/templates/bb_drop_down_menu/view.php on line 223:
and add after the very last line:
echo '</div>';
now we need to alter the packages/jb_bold_and_beautiful/themes/jb_bold_and_beautiful/elements/header.php
and replace this (directly after the opening of "wrapper"-DIV):
<div class="container"> <!-- navigation container --> <?php global $c; if($c->isEditMode()) { echo "<div id=\"navmenu_edit\" class=\"sixteen columns alpha omega\">"; } else{ echo "<div id=\"navmenu\" class=\"sixteen columns alpha omega\">"; } $a = new GlobalArea('Header Nav'); $a->display(); ?> </div> <!-- end of navigation menu --> </div> <!-- end of navigation conatiner -->
with this:
<div class="container"> <!-- navigation container --> <?php $a = new GlobalArea('Header Nav'); $a->display(); ?> <!-- end of navigation menu --> </div> <!-- end of navigation conatiner -->
Sorry, but when buying a 30USD-Theme I expect everything working without the need of coding around!
Type: | Discussion |
---|---|
Status: | New |
Much appreciated.
JZ