How can I make PageWrapperClass 100% height

Permalink
Hi everyone
I am currently building a custom theme using the secondary expandable menu by codyhouse. This nav expands full-height from the right on click. The contend is wrapped in a class which gets shifted left on click.

Works just fine until I wrap the page in the

<div class="<?= $c->getPageWrapperClass() ?>">
... My content here ...
</div>

Then the vertical bar wrapping the navigation gets broken at the height of the page-content.

Is there a way to set it to 100% screen height?

pixeljunkie
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi pixeljunkie,

What is the address of the website?
pixeljunkie replied on at Permalink Reply
pixeljunkie
It's athttp://internet-werkstatt.ch/concrete5759/... (don't mind the colors 'n stuff) ;D

I temporarily solved the issue by wrapping the PageWrapperClass like this:

<?php if (Page::getCurrentPage()->isEditMode()) { ?>
<!-- Concrete5 Page Wrapper Class -->
<div class="<?= $c->getPageWrapperClass() ?>">
<?php } ?>

But I am not sure wether this is the most elegant solution. Now the <main> area stretches all the way to the bottom, until you get into edit mode. The UI panels slide in just fine ....
Steevb replied on at Permalink Reply
Steevb
Do you have a js or css clash?

Wrapper class output maybe interfering.

View the source code or dev console and see if it gives any pointers.