Hi there,
is there a way to get the farbsection (I mean the backgournd image) somehow more reponsive for mobile devices ?
Thanks
Hi flippingrocks!
Thank you for using Enfold.
Looks like you’re using the full width easy slider now instead of the color section and it is much better. The reason why the color section cuts off parts of the images is because the background size property is set to cover. Full description of the “cover” value here: http://www.w3schools.com/cssref/css3_pr_background-size.asp
Regards,
Ismael
Hi Ismael,
thanks for your reply – we still use fabsections – not only sliders. I understand what you are saying about the “cover” css property. Is there a way to provide better suited / cropped images as a farbsection-background-image via media-queries for mobile devices?
thanks a lot
Hi!
Yes, this is possible. Add a unique id in the Section ID field of the color section, use “custom-section” for example then add something like this in the Quick CSS field:
@media only screen and (max-width: 767px) {
#custom-section {
background-image: url(https://yousite.com/imageformobile.jpg) !important;
}
}
You can play around with the background size, position etc. A variation of css is needed if you set the background attachment to parallax.
Best regards,
Ismael
HI Ismael,
thanks for your help – I will try.
Hey!
Glad we help you out, please do let us know if you need anything else!
Best regards,
Basilis