• The images in the ‘Modern Gallery’ x6 on my ’Gallery’ page are not showing in ‘mobile phone’ mode. They are displaying in desktop and laptop mode but there is a ‘warning’ as text behind the images – Warning Division by zero in /home/customer/www/artelierprovence.com/public_ html/w-content/plugins/auxin-elements/includes/elements/gallery ph on line 622
    I’ve used Elementor to create the website with Phlox theme and it’s been going well for four years. Obviously any help in rectifying this would be appreciated.
    Thanks, Fiona D

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi,

    When I analyze the page, I can see two things:

    1. in mobile mode, the width of each thumbnail is not set in the CSS
    2. some style properties of the thumbnail such as their positions are directly inlined in the <figure> element. And in mobile mode all the thumbnails are positioned at the same place on the top of their gallery container.

    Those styles may be defined through JavaScript or the PHP code of the plugin. Let’s first suppose that they are set through JavaScript. In this case you can try by defining a width through CSS and see if the problem is solved.

    Concerning the “division by zero” warning though, it seems to be an error from the PHP code of the plugin. So it is necessary to have a look at the code in order to debug it and find the origin of the error.

Viewing 1 replies (of 1 total)
  • The topic ‘Modern gallery elements not working in mobile mode’ is closed to new replies.