Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #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,
    Marcel

    #875380

    Hey Marcel,

    To understand the problem, you are refering that the image is been cut, correct?

    Best regards,
    Basilis

    #880442

    Correct, I Have the same problem. on the iPad the image is mega zoomed !!!

    #880607

    Yes, that is what the problem is.

    #881182

    Hi Mathuseo,

    Can you disable the caching plugin while we’re helping you?

    Best regards,
    Victoria

    #881183

    Hi Joni Fleischer,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #881187

    I posted the link under this message:

    #882092

    Hi,

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

    #882255

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

    #882260

    Example iPad
    This is how it looks on my iPad?

    #882520

    Hi,

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

    #882525

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

    #883394

    Hi,

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

    #883459

    Hi 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.
    #883479

    Addition: 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 iPhone

    Same 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?

    #883772

    Hi,

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

    #884353

    That 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…

    #884355

    I’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 again

    #884520

    Hi,

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

    #884544

    DIdn’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.

    #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.
    #884600

    @Mathuseo
    No problem ;)

    #885075

    Hi,

    I’m not sure why the parallax would resize the image properly on smaller devices. Anyway, I’m glad that you found a workaround that works in your case.

    Best regards,
    Ismael

Viewing 23 posts - 1 through 23 (of 23 total)
  • You must be logged in to reply to this topic.