I have a web with bootstrap 3.0 with this structure of sections:
<html>
<header>
</header>
<body>
<div class="container" id="section1">
<div class="row">
<div class="col-lg-12 section">
<header>
<h3 ></h3>
<h4></h4>
</header>
</div>
</div>
</div>
<div class="container" id="section2">
<div class="row">
<div class="col-lg-12 section">
<header>
<h3 ></h3>
<h4></h4>
</header>
</div>
</div>
</div>
</body>
</html>
I tried to put a background image fixed and cover in each div "container". In higher devices works great but in ipad and iphone it doesn't work. This is my css for section1:
#section1{
background-color: transparent;
background-image: url("img/about.jpg");
background-repeat: no-repeat;
background-attachment: fixed !important;
background-position: center top;
background-clip: border-box;
background-origin: padding-box;
margin-top: 50px;
padding-top: 120px;
min-height: 700px;
width: 100%;
background-size: cover;
}
I tried various solutions read in posts and Google, but nothing seems to work. Any ideas? Thanks in advance