• Resolved ryanasm81

    (@ryanasm81)


    Directly above the “What makes Ceres Unique” row, there used to be a carousel that displayed 8 different slides. For some reason it is not visible and is not displayed anymore. I checked my CSS in my child theme and nothing is over-riding the plugin CSS – in face the plugin CSS says visibility:hidden, and display:none. Very confused by this.

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

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

    (@simonpedge)

    Well you have a JavaScript error on this page:
    Uncaught ReferenceError: add_filter is not defined

    If you open your JavaScript console – press CTRL+SHIFT+J keys together (Chrome, Firefox) – you will see this error.

    It seems to be occurring on this line:
    add_filter( 'gform_field_value_refurl', 'populate_referral_url');

    I’m not sure what this is, but it is not part of Slide Anything, and its causing JavaScript to crash, which will affect the running of Slide Anything.

    Unfortunately, that’s not the solution. I removed it because, well, yes it was an error. But the slider was still working while that error was happening in the nav – max mega menu (under greenhouse), and is still not working on the page after removing the error.

    In order to get the plugin to work in the mega menu, I had to change the CSS in my child style to

    .mega-menu .owl-carousel.owl-loaded {
    visibility: inherit !important;
    }

    This shouldn’t have affected the display on the page, but ??

    It’s very peculiar that the CSS that comes with the plugin has the visibility hidden and the display none.

    I think I figured out the problem, but still don’t have the solution. Putting the slider in the mega menu and on the page meant that the jquery was in two places. Since the mega menu script was first, the second jquery in the body caused it to not work. Is there a way to embed the shortcode without the jquery for one instance and with in another?

    Plugin Author simonpedge

    (@simonpedge)

    Well Slide Anything does not actually load jQuery – it uses the jQuery that loads with WordPress core. I would suspect that the issue might be timing i.e. possiblly the SA jQuery code in the mega menu loading before jQuery itself has loaded.

    Have you checked/ticked the “DOMContentLoaded event” checkbox (under “Other Setting”).

    Plugin Author simonpedge

    (@simonpedge)

    Hi ryanasm81, I’m marking this topic as resolved since I have not heard anything further. If you have any other questions, please do not hesitate to ask.

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