• Resolved hupe13

    (@hupe13)


    How do I get the thumbs below the slides centered?

    Thank you very much.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    This is actually controlled by Splide (the slideshow script) directly. I think you can resolve it with this custom slide:

    .photonic-slideshow-thumbs .splide__track ul { display: block; }

    Use the above with a bit of caution, though. The thumbnail panel is actually centered by Splide automatically – as you add more thumbnails, you will see that the panel will fill out, and it will appear as though it is centered. So, at some point you might need to remove this custom code.

    Thread Starter hupe13

    (@hupe13)

    Thank you very much, it works. The old slideshow stopped working after the last update.

    Plugin Author Sayontan Sinha

    (@sayontan)

    I think that is because of the way you have set up your site’s optimization (not within Photonic). The slideshow script was updated to its new version in the latest Photonic release. Within Photonic, I use a technique called “cache busting”, to ensure that you are getting the latest version of the JS files. This is done by including scripts this way:

    <script type="text/javascript" src="https://example.com/wp/wp-content/plugins/photonic/include/ext/splide/splide.min.js?ver=4.1.4-20230514-213448" id="splide-js"></script>

    However, on your site, you have something that strips out the ?ver=xxx and makes the URL look like this:

    <script src="https://leafext.de/wp-content/plugins/photonic/include/ext/splide/splide.min.js" id="splide-js"></script>

    This often causes browsers to load the older version of the file, and it would appear as though the script is not working.

    Thread Starter hupe13

    (@hupe13)

    Yes, caching is a problem, even during the development of my plugin. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘center thumbs’ is closed to new replies.