-
AuthorPosts
-
November 8, 2017 at 3:07 pm #874205
Hey,
I use the full-width-slider and has an issue on iPad and iPhone. Please see the screenshots. Domain and login details in private content.
Screenshot: https://imgur.com/a/vCrNe
I have added this CSS (instead of background-size:cover) but without success:
background-size: 100% 100%;
Screenshot with result: https://imgur.com/a/SiuZ1
Any idea what is wrong?
Thanks,
MarcelNovember 10, 2017 at 9:28 pm #875380Hey Marcel,
To understand the problem, you are refering that the image is been cut, correct?
Best regards,
BasilisNovember 22, 2017 at 9:20 pm #880442Correct, I Have the same problem. on the iPad the image is mega zoomed !!!
November 23, 2017 at 7:20 am #880607Yes, that is what the problem is.
November 24, 2017 at 1:54 pm #881182Hi Mathuseo,
Can you disable the caching plugin while we’re helping you?
Best regards,
VictoriaNovember 24, 2017 at 1:54 pm #881183Hi Joni Fleischer,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaNovember 24, 2017 at 1:59 pm #881187I posted the link under this message:
November 27, 2017 at 4:42 am #882092Hi,
The site looks fine on mobile view. Please note that the images in the slider are set as background and the background-size property is set to “cover” (https://www.w3schools.com/cssref/css3_pr_background-size.asp) which means that the image will cover the entire container. However, some parts of the image has to overflow outside the background positioning area in order to keep its aspect ratio. We can set the size property to 100% or “contain” but it will distort the images or create white spaces around the slider container.
If you really need the whole background image to be visible inside the container, create another slider then use images that are specifically resized for mobile view. Use the sliders’ Screen Options to toggle their visibility on different screen sizes.
Best regards,
IsmaelNovember 27, 2017 at 3:49 pm #882255Hi Ismael,
thanks for your answer. I think it depends to the link from “Joni Fleischer”. Can you please have a look to my .m-Domain website? I have posted the link as privat content in this post.
With Android the slider works fine. With Safari it does “stretch” the images (does not fit the window size). I have tested it with iPhone 7. Can you please check what goes wrong and how to fix it.
Thanks,
MarcelNovember 27, 2017 at 4:07 pm #882260
This is how it looks on my iPad?November 28, 2017 at 6:03 am #882520Hi,
If you really need the whole background image to be visible inside the container, create another slider then use images that are specifically resized for mobile view. Use the sliders’ Screen Options to toggle their visibility on different screen sizes.
Please try the suggestion above.
@Joni Fleischer: Is it a retina device?
Best regards,
IsmaelNovember 28, 2017 at 7:14 am #882525Hi Ismael,
the image sizes actually are 736×1024 (upright). So you would suggest two sliders controlled by screen options?
- First sliders screen options: Hide on all devices except of very small screens (smaller than 479px – eg: Smartphone Portrait) with images with max width of 479 pixel.
- Second sliders screen options:: Hide on all devices except of small screens (between 480px and 767px – eg: Tablet Portrait) with images with max width 767 pixel.
Is that what you mean? Why does the current slider works on Android and in Chrome developer tool (set to iPhone 6) perfect but for iPhone devices I need different sliders with different screen options and image sizes?
November 30, 2017 at 1:09 pm #883394Hi,
Why does the current slider works on Android and in Chrome developer tool (set to iPhone 6) perfect but for iPhone devices I need different sliders with different screen options and image sizes?
Please review our previous explanation.
Please note that the images in the slider are set as background and the background-size property is set to “cover” (https://www.w3schools.com/cssref/css3_pr_background-size.asp) which means that the image will cover the entire container. However, some parts of the image has to overflow outside the background positioning area in order to keep its aspect ratio. We can set the size property to 100% or “contain” but it will distort the images or create white spaces around the slider container
You can replace the full screen slider with a full width easy slider on mobile view. This slider renders the actual image tag instead of setting the image as background.
Best regards,
IsmaelNovember 30, 2017 at 3:06 pm #883459Hi Ismael,
thanks, but unfortunately I still do not unterstand what the problem is :( The images are with 736 x 1063 px still perfect for the full-width-slider in mobile view. On normal pages it works great on iPhone. In popup-container it doesn’t work. So the problem must be the slider in the popup-container, or am I wrong? What should I change in CSS for the popup-container, that the slider images are cover the screen? If “the image will cover the entire container”, as you wrote, it means, this container is not width: 100% and height: 100%?
- This reply was modified 6 years, 11 months ago by Mathuseo.
November 30, 2017 at 4:04 pm #883479Addition: We use the same setup in the both links I added as private content.
First URL: Slider does not work with iPhone
Second URL: Slider works with iPhoneSame setup. The shortcodes for template are copy and pasted. Where is the difference between the both sliders in these both pages, when they copy and pasted and so exactly the same?
December 1, 2017 at 9:09 am #883772Hi,
The size and aspect ratio of the images make the difference. The images in the “mobile” site are tall, not wide, so it works well in mobile portrait mode. ( see private field )
Best regards,
IsmaelDecember 3, 2017 at 2:37 pm #884353That still doesn’t explain why the slider works on android tablet, and on an iPad it doesn’t?
Yes, the ipad is a retina device. as all of the apple products are?
Would really love a solution and not the solution I have te make 2 sliders with different viewports.
Because like i’ve already said: It works on a android tablet…December 3, 2017 at 2:46 pm #884355I’VE FOUND THE PROBLEM!!!!!
You have to change the slider settings: Slideshow Image scrolling to Parralax!
Then the image looks the same on iOS and android!!!!
@Kriesi: Take a look at the problem, Image scrolling to Locked then the background is zoomed in on ipad and iphone. with parralax it’s normal againDecember 4, 2017 at 5:44 am #884520Hi,
Yes, the ipad is a retina device. as all of the apple products are?
Not every iPad is retina. The images look blown out on retina devices because the device has higher dpi/ppi. Again, this is a matter of image sizes and aspect ratio.
Best regards,
IsmaelDecember 4, 2017 at 7:57 am #884544DIdn’t you read my last post?
I found the problem. Please take a look at the Slideshow Image scrolling.
It’s a fault by Kriesi. SO take it in account for a next update.December 4, 2017 at 12:02 pm #884597@Joni Fleischer: That solved the problem, many thanks!
After changing the slideshow image scrolling to Parralax the full-width-slider is working fine now on the iPhone as well!
Thanks for sharing these information @Joni Fleischer.- This reply was modified 6 years, 11 months ago by Mathuseo.
December 4, 2017 at 12:05 pm #884600@Mathuseo
No problem ;)December 5, 2017 at 2:40 pm #885075 -
AuthorPosts
- You must be logged in to reply to this topic.