Hi @bartekkustra. I am also trying to get a full window site. I tried your method at [Code Tutorial] Full window site - Webflow Tips - Forum | Webflow, but the sections don’t have a 100% height, although they do have a 100% width.
So basically I want each section to be 100% width and height, like at http://blackpearlfarmssc.com/.
Can anyone tell me what is going wrong?
Troubleshooting link:
https://webflow.com/design/bertie?preview=9623231cbc78ed1d77158dd1f29d477c
Subdomain:
http://bertie.webflow.com/
Exported site:
http://bertieellisonwright.com/bertie.webflow/
And this is everything in the ‘custom code’ header section:
<style type="text/css">
div.full-page {
width:100%;
}
div#page-1 {background-color:#f00;}
div#page-2 {background-color:#0f0;}
div#page-3 {background-color:#00f;}
</style>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script>vpw = $(window).width();
vph = $(window).height();
$('.full-page').height(vph);</script>
Thanks!
Bertie