• Hi

    I’m a newbie when it comes to coding and am still learning. Is it possible to edit the code so the spoiler opens when I hover over the title?

    Thanks in advance!
    A

Viewing 1 replies (of 1 total)
  • You would have to change line 4 in shortcodes-ultimate/assets/js/other-shortcodes.js
    $('body:not(.su-other-shortcodes-loaded)').on('click', '.su-spoiler-title', function (e) {
    to this:
    $('body:not(.su-other-shortcodes-loaded)').on('mouseover', '.su-spoiler-title', function (e) {
    But the timings (transitions, etc.) will be weird.
    Keep in mind that your code change will be reset if the plugin updates.

Viewing 1 replies (of 1 total)
  • The topic ‘Spoiler open on hover’ is closed to new replies.