HELLO, I NEED CSS CODE TO REDUCE STRETCHED IMAGE ON MOBILE VIEW FOR EASY SLIDER
THANKS!
Hey bemodesign,
Thank you for the inquiry.
Did you add this css code?
.responsive #top .avia-slideshow-inner, .responsive #top .avia-slideshow-inner img {
height: 550px !important;
}
Please remove css rule or override it with:
.responsive #top .avia-slideshow-inner, .responsive #top .avia-slideshow-inner img {
height: auto !important;
}
Let us know the result.
Best regards,
Ismael
I already tried that. But once I remove that code , the main home page slider image gets shrunk and the words get cut off.
Hi,
Thanks for the update. Could you copy the content to a test page so that we can see the actual problem please?
Best regards,
Rikard
Not sure what you mean, but with the code the top home page Full width slider looks perfect, but theEasy slider that is lower on the page is stretched. The CSS code must effect both of the slider. see screenshots. is there a code to just adjust either one?
https://img.savvyify.com/image/top-full-width-slider-with-code-is-good.9A5Dp
https://img.savvyify.com/image/top-full-width-slider-if-I-remove-code.9A0Pz
https://img.savvyify.com/image/stretched-easy-slider.9AD7h
And this is the current code: I can’t remove it or the top of the home page gets cut off.
@media only screen and (max-width: 768px) {
.responsive #top .avia-slideshow-inner, .responsive #top .avia-slideshow-inner img {
height: 550px !important;
}
Let me know when you can. thanks again
Hi,
Try to replace the css rule with this:
.responsive #top .avia-slideshow-inner, .responsive #top .avia-slideshow-inner img {
height: 550px !important;
object-fit: cover;
}
This will partially cut off the images but will prevent them from getting distorted.
Best regards,
Ismael
thanks!