
-
AuthorPosts
-
December 8, 2021 at 5:07 pm #1332013
Hello :)
I’m using the fullscreen slider on my homepage however the images and the text are cut on mobile. I tried different devices but the result is still the same.
Here the link to my homepage : https://www.10p7.victorcharruaud.com/
I would like it to be as this website, the slider look great on mobile (https://www.capatv.com/). It is possible to help me with a css code to achieve this ? Or at least find a way to have it not cut and responsive. I do not wish to disable the slider on small screens.
I have seen different topics with the same issue (it is cut on mobile but not with adaptative screens on desktop) and nobody got the solution.
As my sliders change ofter because of my activity, I can’t use LayerSlider that imply much more work and do not fit my needs with caption titles.Thanks for the help,
Kind regards,
VictorDecember 9, 2021 at 2:25 pm #1332139Hey Vichardo,
Thank you for the inquiry.
Have you tried using the Fullwidth Slider element instead? Please note that the Fullscreen Slider element will inherit the height of the browser viewport. The images inside have to adapt to the slider size and may overflow if their aspect ratio is not the same as the device screen.
If you want to adjust the style of the slider on mobile view, try this css code.
@media only screen and (max-width: 767px) { .avia-fullscreen-slider .avia-slideshow>ul>li { background-size: contain !important; background-repeat: no-repeat; } .avia-builder-el-0.avia-fullscreen-slider .avia-slideshow { height: 270px !important; } }
You can also set the size of the background images to inherit the actual size of the slider but they may get distorted a bit.
.avia-fullscreen-slider .avia-slideshow>ul>li { background-size: 100% 100% !important; }
Best regards,
IsmaelDecember 10, 2021 at 6:56 pm #1332368Hi Ismael, thank you for your answer.
I tried the Fullwidth slider. The image is fine on mobile but the text is not responsive at all, huge and cut, unreadable.
I tried the code you gave me but it doesn’t change on mobile neither, it is still cut and not really responsive.Any other solution ?
ThanksDecember 11, 2021 at 6:58 pm #1332425Hey, sorry I didn’t think about changing the font size manually for other devices. Problem solved :) thanks
December 13, 2021 at 3:06 pm #1332584 -
AuthorPosts
- The topic ‘Issue with the fullscreen slider on mobile’ is closed to new replies.