Hello @thunfischdose,
thank you for contacting me, let’s try to solve this together.
We can achieve this result with some line of Javascript and customising the HTML within your page
Example:
https://codepen.io/leopuleo/full/RKVQwd/
Here you have more info about the code:
https://codepen.io/leopuleo/pen/RKVQwd
CSS
Nothing to change.
Javascript
With these few line of code we are:
- Choosing a specific panorama to target targeting
- Calculating the panorama height: window height minus header height.
- Forcing the panorama height with the new value
Copy and paste the javascript from the example to a javascript file within your theme.
Be careful to:
- Change the panorama selector (line 4) in order to target the exact element you want to make full-height. Don’t use a generic
.easy-panorama
otherwise, all the panorama will be full-height.
- Delete or comment line 6 – Easy Panorama is managing to initiate the panorama
- Add or remove all the element placed above the panorama. In the example, we have only the
#header
element.
HTML
This is an example, remeber to add a container to your panorama, this must be full width.
Remember: Easy Panorama uses Paver jQuery plugin, in case the author of this library changes the Javascript / HTML behaviour, this customization may not work.
Please let me know if the example works for you.
Leonardo