Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1294971

    Hi,

    I’m using LearnDash (latest version) with Enfold 4.8.1. However, the LearnDash result-page after finishing a quizz isn’t shown completely. I contacted LearnDash support, they say the quizz ‘freezes’ with Enfold. When they changed the theme to WP’s default (twenty-twenty), then the results are shown, see this image:

    Results with Twenty-Twenty theme

    However, with Enfold, it shows this result:

    Result with Enfold

    Any suggestions on this?

    Best regards,
    Roger

    #1295543

    Hey Roger,
    Thank you for your patience, can you link to a test page with a simple test quiz? I have two solutions from a while back that might still work, one is this css for your Quick CSS field:

    dd.course_progress {
    	width: 100%;
    }

    the other was this code to add to your functions.php file in Appearance > Editor:

    function show_quiz_results() { ?
            >
            <
            script >
                (function($) {
                    $(window).click(function() {
                        if ($('.wpProQuiz_sending').is(":visible")) {
                            $('.wpProQuiz_results').css({ 'display': 'block' });
                        }
                    });
                })(jQuery); <
            /script>
            <?php
    }
    add_action('wp_footer', 'show_quiz_results');

    but that might have been for the pro version, I don’t recall for sure and would need to test again if these don’t work today.

    Best regards,
    Mike

    #1295631

    Hi Mike,

    Thanks a lot for your answer: your solution still works: the results are being shown correctly now, though I have two result strings now, but I can hide them the same way as showing the correct one. Just one thought: why don’t you include this code in the next Enfold update, since it’s obviously an Enfold-related issue because it works fine already with the default Twenty-Twenty themes of WordPress.

    Anyway, thanks again for this fix!

    Regards,
    Roger

    #1296545

    Hi,
    Glad to hear this helped I pointed this out to the dev team for them to review. I believe that this solution is a bit hacky to be included in a release, but perhaps they will add something else. We will close this now. Thank you for using Enfold.
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘LearnDash result page not working with Enfold’ is closed to new replies.