Actually, to hide the background image here , it is just css:
background-image: none;
Here is a solution for mobile , I used media queries
HTML
<div class="bgimg" >
</div>
External CSS
@media (min-width: 1200px) {
.bgimg {
background-image: url('../img/your-eternity.jpg');
background-repeat: no-repeat;
height: 800px;
width: 1000px;
background-size:100% auto;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.bgimg {
background-image: none;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.bgimg {
background-image: none;
}
}
@media (max-width: 767px) {
.bgimg {
background-image: none;
}
}
@media (max-width: 480px) {
.bgimg {
background-image: none;
}
}
Hope helps someone.
source
share