-
AuthorPosts
-
February 4, 2017 at 3:11 am #742634
Hi there,
I use the fullscreen slider, and have made it a little bit shorter, the way you explained it on the forum, find below.
But now it looks very weird on the mobile phone, it is not responsive anymore. Is there a solution for this? Thanx, Annelies@media only screen and (max-width: 480px) {
.avia-fullscreen-slider .avia-slideshow>ul>li {
background-size: 100% 100%;
background-repeat: no-repeat;
}
}@media only screen and (min-width: 1200px) {
.avia-slideshow-inner {
height: 440px !important;
}
.avia-slideshow {
max-height: 440px !important;
}
}February 4, 2017 at 12:21 pm #742791Hey AnneliesUL,
Yes, there should be a solution to that. Would you give us a link to the page with the fullscreen slider? so we can check it further.
Best regards,
NikkoFebruary 4, 2017 at 4:34 pm #742841Hey thanx for fast reaction!
February 6, 2017 at 8:53 am #743210Hi,
Try to replace this code:
@media only screen and (max-width: 480px) { .avia-fullscreen-slider .avia-slideshow>ul>li { background-size: 100% 100%; background-repeat: no-repeat; } }
to:
@media only screen and (max-width: 480px) { .avia-fullscreen-slider .avia-slideshow>ul>li { background-size: auto 100%; background-position: center center !important; background-repeat: no-repeat; } }
Hope this helps :)
Cheers!
NikkoFebruary 6, 2017 at 12:44 pm #743316Thanks Nikko, but that doesn’t work either. Now the picture is full screen, instead 90% height on the computer. And on the mobile it is still a weird foto now. It shows the whole picture, but then made fit on a mobile screen :), so everything is in different proportions
February 6, 2017 at 9:01 pm #743605Hi,
Can you post a screenshot on how it looks on your mobile phone when the code I gave is used? you can upload it on http://imgur.com/ and post the link here. Basically what I suggested above was replacing this part of the code:
background-size: 100% 100%;
to this one:
background-size: auto 100%;
this means the background’s width will be auto and height to 100%, by using this code it would make sure that the background won’t be stretch though some part of it won’t be seen. And adding this code:
background-position: center center !important;
Which basically says to use the center as the base instead of top and left part of the background image (which is the default), so by adding the code I gave would result in the woman with curly hair to show as background image, though the other person won’t be seen.Cheers!
NikkoFebruary 7, 2017 at 12:05 am #743637Sorry, it was my mistake. Because now it is working! :)
But the weird thing is, the text above changed from white to black. (Im a digi-nerd… )
Do you know which button I must have touched?February 7, 2017 at 12:08 am #743638only on the mobile. on the computer the letters are still white..
February 7, 2017 at 4:56 am #743665Hey,
That’s weird, I’d like to check the page again however when I opened it, it shows a 404 page:
Nothing Found Sorry, the post you are looking for is not available. Maybe you want to perform a search?
Regards,
NikkoFebruary 7, 2017 at 11:10 pm #744128Hi Nikko,
Thank you for your help! It is working now. The letters are white again too :)
February 7, 2017 at 11:56 pm #744143Hi,
I tried it but I still couldn’t see it, please refer to the screenshot link below.
Regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.