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:

echo '<div id="navmenu" class="sixteen columns alpha omega">'; 
echo '<ul class="nav">'; //opens the top-level menu


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
sk01
View Replies:
jb1 replied on at Permalink Reply
jb1
I apologise for that. I'm thinking there might have been lacking updates especially for the latest C5 version that came up. And thank you again for helping to put that into detail.

Much appreciated.
JZ

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.