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?
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?
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 ....
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 ....
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.
Wrapper class output maybe interfering.
View the source code or dev console and see if it gives any pointers.
What is the address of the website?