![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
Tagged: color section, fullwidth slider, stretch to fit
-
AuthorPosts
-
May 11, 2019 at 10:00 am #1099550
Dear Support,
can you explain please the option “Stretch to fit” vs “stretch image to fit slideshow size” between color section and fullwidth easy slider?
If i have a fullwidth image: It’s impossible for me to use this in responsive mode with the color section and the option “Stretch to fit” It shows another result as the fullwidth slider with the same function in my eyes. Only with the slider work a responsive image in the way, which i expect for the function “stretch to fit”.
At the color section, only a part is vissible. The rest it cutted away.
Please chck it.
Thx
-
This topic was modified 5 years, 4 months ago by
Hokuspokus.
May 14, 2019 at 8:21 am #1100404Hey S.,
Thanks for the update.
The option “Stretch to fit” sets the background size property to “cover”, which scales the background image while maintaining its aspect ratio. You can find the complete definition of that value in the following link.
// https://developer.mozilla.org/en-US/docs/Web/CSS/background-size#Values
If you want to see the difference between the background size options, check the demo in the page above.
// https://developer.mozilla.org/en-US/docs/Web/CSS/background-size
Best regards,
IsmaelMarch 5, 2020 at 9:40 am #1190344Hi there,
The same issue is on my side too. What is the point of the option in the elementor “Scale to fit (scales image so the whole image always visible) , if I have to overwrite it with custome css?
I think this option worked in previous Enfold versions as well?thanks for advice
DarkoMarch 6, 2020 at 4:32 am #1190722Hi Darko,
We need to see the problem on your actual site in order to give you an answer.
Best regards,
RikardMarch 6, 2020 at 10:03 am #1190797Hey Rikard,
of course, please take a lookthanks
March 7, 2020 at 5:15 am #1191058Hi Darebvk,
Thanks for that. It’s working as it should on your site, it does exactly this: “scales image so the whole image always visible”. If you want the image to cover the entire section on all screen sizes then you should not select that option. You can’t have a background image covering a whole container element on all screen sizes and still showing all of the image data.
Best regards,
RikardMarch 9, 2020 at 9:27 am #1191396Hey Rikard,
thanks for the clarification,I thought it was possible covering a whole container and get responsive.Best Regards
Darko -
This topic was modified 5 years, 4 months ago by
-
AuthorPosts
- The topic ‘Color section vs. Fullwidth Easy slider: Strect to fit’ is closed to new replies.