I'm creating a site now and I use fullpage.js
. Until I put some image in background it seems fine (perhaps because there was no way to tell if it was happening). I added a background and now I can see that:
- On initial page render first page/section is not full screened (there is a white bar on bottom - top of next section)
- When page is resized up or down the bar disappears
- When resized back to initial size - no white bar
- When refreshed (on any size) - white bar appears.
- the white bar is always (on different monitor sizes/initial window sizes) 17px in height
I can provide all additional info such as screenshots,code, css or any info needed.
body:
<div id="fullpage">
<div class="section" data-anchor="top">{#top#}
<div class="bg-photo"></div>
<div class="content">
<div>
<h1>DO ROZPOCZĘCIA POZOSTAŁO</h1>
<div class='next-event'></div>
</div>
<div class="joinButton">
Dołącz do wydarzenia
</div>
<div class="scroll-icon">
<img src="{{ 'assets/images/scroll_ico.png'|theme }}">
</div>
</div>
</div>
<div class="section" data-anchor="about">
o itad + social
</div>
</div>
css:
.bg-photo {
background-image: url("../images/bg_blurred.png");
background-repeat: no-repeat;
width:100%;
height:100%;
background-size:cover;
}
.content {
position:absolute;
top:0;
width:100%;
height:100%;
background:rgba(11,17,28,0.75);
}
Turns out that on IE works fine, but problem occurs on Firefox,Chrome and Safari.