Reply 40193 to: Parallax on smartphone

Avatar: rubenvandoorn
rubenvandoorn
Participant
February 6, 2015 at 15:57

Hi Eva,

For now it is.

This is the code I added to custom.css:

@media (max-width: 479px){
.et_section.parallax-section {
height: 110px;
background-attachment: fixed !important;
background-size: 100% !important;
background-position: inherit !important;
}
}

@media (min-width: 480px) and (max-width: 979px) {
.et_section.parallax-section {
height: 220px;
background-attachment: fixed !important;
background-size: 100% !important;
background-position: inherit !important;
}
}

Thanks.

Regards,
Ruben

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.