• Resolved awurts

    (@awurts)


    Hello
    I just installed Slide Anything yesterday for the first time and my sliders seem to be defaulting to display:none.

    .owl-carousel {
    display: none;
    position: relative;
    width: 100%;
    z-index: 1;
    }

    When I override to display:table, the slider shows up but none of the settings work, i.e. all slides are stacked vertically instead of displaying horizontally 3 at a time as I indicated in the settings. Navigation arrows are not displaying etc. In short, it looks nothing like the preview I get on the slider settings page. Further, the CSS classes for styling the slides don’t work at all.
    I am using Slide Anything on WordPress 4.8 with the most recent version of Thesis theme.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author simonpedge

    (@simonpedge)

    I’ve seen this before. Normally this happens when there is a JavaScript error on your site, and the Slide Anything ‘Owl Carousel’ is not being initialised.

    Check for JavaScript errors by pressing CTRL+SHIFT+J keys together to view your browser console.

    These types of JavaScript errors can occur if you are running 2 slider/carousel products on your page, both built-on Owl Carousel 2.

    Thread Starter awurts

    (@awurts)

    I don’t see any specific errors relating to Owl Carousel and I don’t have any other sliders on the site. I had tried others and then deactivated and deleted them. I have double checked that they have been deleted in my plugins folder via file manager as well.
    Still no luck getting this slider to work. Anything else I can do?

    Thread Starter awurts

    (@awurts)

    I just tried testing this on another fresh site of mine (never had other plugins/sliders on it) and have had the same problem. (Again, with Thesis theme).

    Plugin Author simonpedge

    (@simonpedge)

    Try testing with another theme then. The default Twenty Seventeen theme.
    Maybe there is is a clash with the theme you are using.

    Thread Starter awurts

    (@awurts)

    Yup, worked with Twenty Seventenn which means the plugin is incompatible with Thesis sadly. That’s really unfortunate.

    I had a similar problem. There was no error in the Javascript console. I was using a theme that didn’t enqueue jquery, so jquery wasn’t getting enqueued until the slide_anything_shortcode function, and by that time the page’s head had already been done, so the script was included at the bottom of the page.

    In slide-anything-frontend, “if (wp_script_is(‘jquery’, ‘done’))” was returning false because jquery hadn’t yet been included in the page. This resulted in the slider not getting initialised.

    I fixed it by adding “wp_enqueue_script(‘jquery’);” in my theme’s functions.php, near where it enqueues other scripts.

    Plugin Author simonpedge

    (@simonpedge)

    Thanks for the feedback David.
    I have just released version 2.0.11 of Slide Anything which addresses this issue.

    Slide Anything will now Enqueue JQuery if it has not already been loaded, prior to generating the Slide Anything JavaScript/jQuery code.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘slide anything default display:none’ is closed to new replies.