Hi
I am using enfold theme and have on my homepage a login form and a image which is stored as a background image in a color-section.
So on iphone and small devices the images lays behind the login form – which is not wanted. Actually it should be hidden on small device.
any conclusion how to do it?
even when I am given the section an css id or class it did not worked out.
many thanks for any help.
kind regards
sue
Hey Susanne,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 767px) {
#pfizerbackground {
background-image:none !important;
}
}
Best regards,
Rikard
Hi Rikard
I tried the css code – but no changes.
I also added the code on the custom.css – but no changes, still displayed on smaller devices. any other conclusions, suggestions?
thank you in advance,
kind regards
sue
Hey!
Please adjust the css media query.
@media only screen and (max-width: 989px) {
#pfizerbackground {
background-image:none !important;
}
}
I would like to edit the code but the login credentials are not working. Please check it carefully.
Regards,
Ismael
Hi
I added the css code as mentioned.
many thanks for your prompte assistance.
kind regards,
sue
thanks for your assistance.
problem is solved as long as background image attribute is on “scrolling” and not on “fixed or parallax”.
but it still would be great if it works also on fixed background images and not only when “scrolling” is selected.
kind regards
Hey!
Different effects are not all ( at least for now ) possible to be used on mobile we are afraid that is why
not all work.
Thanks a lot for your understanding
Cheers!
Basilis