Okay
  Public Ticket #2404141
LayerSlider not showing after WP update
Closed

Comments

  • Nicole started the conversation

    After we updated our website to Wordpress version 5.4.1 and Avada version 6.2.3 a few days ago, the slider is no longer displayed. What could be the reason? We have installed LayerSlider version 6.11.1

  •  244
    Kreatura Support replied

    Hello Nicole,

    Thank you for getting in touch with us!
    Do you have slider in your homepage? Or where can I check it?
    As I see in your homepage source code, there is some javascript code which refer to slider ID, for example: #layerslider_1
    In the new version the IDs of the sliders are randomized to avoid certain conflictions. so instead of an ID, you should set a unique class with Slider Settings -> Appearance -> Slider classes and reference it.

    Best Regards,
    Andrea | Kreatura Support Team

  •   Nicole replied privately
  •  244
    Kreatura Support replied

    Hello Nicole,

    Thank you.
    As I see there is a javascript error in your console which is not related to the slider, but probably it will work after you fix it. This code loaded by Fusion builder:

    Uncaught TypeError: Cannot read property 'top' of undefined line 1909.
    if (jQuery("#layerslider-container").size() != 0) {
        
        function updateDivsMargins() {
            var newHeight = 0;
        var distance = jQuery('.fusion-header-v2').offset().top - jQuery('.h-button-left').offset().top;
     
                newHeight = jQuery(window).height();
                if (jQuery(window).width() > 400) {
        newHeight = newHeight;
    }
    

    Best Regards,
    Andrea | Kreatura Support Team