1
I created a layout and my background image is not appearing on Iphone 6, 7 and 8.Testing locally by Chrome appears quietly, but when I test on Iphone 8 it disappears getting only the background color. I tried to change the background-position and nothing worked. What can it be?
.bgParallax {
margin: 0 auto;
width: 100%;
position: relative;
min-height: 100%;
background-position: 50% 0;
background-repeat: repeat;
background-attachment: fixed;
}
.container {
max-width: 100%;
padding: 0;
}
.container #imagem2 {
background-image: url(../images/imagem2.jpg);
}
#imagem1,
#imagem2 {
font: 70px futuraptbold, Arial, Tahoma, Sans-serif;
color: #c4a376;
letter-spacing: 1.3px;
text-align: center;
display: table-cell;
vertical-align: middle;
height: 795px;
width: 100%;
background-image: url(../images/imagem1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
#imagem1 span {
display: block;
margin: 0 auto;
}
#imagem1 span:last-child {
line-height: 19px;
}
<div class="container" style="width:100%;display: table;">
<div id="imagem1" class="row bgParallax" data-speed="5">
<span>TEXTO 1</span>
</div>
</div>
<div class="container" style="width:100%;display: table;">
<div class="row bgParallax" id="imagem2" auto-speed="5">
<span>TEXTO 2</span>
</div>
</div>