Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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, 2 months ago by Hokuspokus.
    #1100404

    Hey 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,
    Ismael

    #1190344

    Hi 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
    Darko

    #1190722

    Hi Darko,

    We need to see the problem on your actual site in order to give you an answer.

    Best regards,
    Rikard

    #1190797

    Hey Rikard,
    of course, please take a look

    thanks

    #1191058

    Hi 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,
    Rikard

    #1191396

    Hey Rikard,
    thanks for the clarification,I thought it was possible covering a whole container and get responsive.

    Best Regards
    Darko

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Color section vs. Fullwidth Easy slider: Strect to fit’ is closed to new replies.