Upgarde to v5.5. Dashboard HIDES Site Navigation (Menu Bar)

Permalink 1 user found helpful
Just upgraded to C5 v5.5

When logged into the site I now find that the Dashboard menu-bar and dropdowns HIDE the site menus

Previously (v5.4.2) this worked, since my site was wrapped in a class DIV

Is there a fix for this (and please tell me I DO NOT) have to upgrade all my templates!)?

 
mkly replied on at Permalink Best Answer Reply
mkly
There a couple going around right now.

One approach is to set that wrapper div to display block;
/*
 * change wrapper to the id
 * of your wrapper div
*/
#wrapper {
  display: block;
}


A second hopefully not needed approach is to add this at tbe beginning of your body tag in the page types of the theme.
<?php
/*
 * You can alter height: 50px to your personal taste
 * Some may prefer 85px
*/
?>
<?php $up = new Permissions(Page::getCurrentPage()) ?>
<?php if($up->canAdminPage()): ?>
  <div style="height: 50px; font-size: 1px">& nbsp;</div>
<?php endif; ?>


On the second one you need to remove the space in & nbsp; because the forum does not currently escape it.
fowlesp replied on at Permalink Reply
Thanks. The second (additional div) fix has resolved the issue.

Although I am confused why this is suddendly necessary. Especially given that the default C5 theme doesn't suffer the same behaviour?

Any ideas?
NBardales replied on at Permalink Reply
NBardales
Well, I don't quite get your problem (you don't see the edit bar?) If so, just add:
<?php   Loader::element('footer_required'); ?>
before the ending 'body' tag of your templates (so, yes, you do have to edit them). If you have a 'footer.php' element, it will be way easier.

jordanlev told me it's a little piece of C5, that's been out there for a while, although we haven't seen it that often. So, the default C5 themes already include it, which is why they still work.

If that was NOT the answer to your problem, then I hope this helps someone else... =D
fowlesp replied on at Permalink Reply 2 Attachments
@NBardales you're relying to a different problem

Perhaps the attached screenshots will help

Look at (or rather for) the main site menu-bar once I'm logged into C5

The C5 edit bar obscures the site menu-bar

my header.php looks like this
<head>
<!-- Site Header Content //-->
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('main.css')?>" />
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('typography.css')?>" />
<?php  Loader::element('header_required'); ?>
</head>
<body>
<div id="c5wrapper">


and this is my footer.php
</div> <!-- end c5wrapper -->
<?php  Loader::element('footer_required'); ?>
</body>
</html>


Anyone see the problem?