Hello, I am using your plugin which is great. The only pr…

closed

Hello,
I am using your plugin which is great.
The only problem is that when I click on “finish”, it scrolls down to the bottom of the page…
Here is the URL : http://sophieguldnerdev.ovh/testez-votre-niveau/
Is there a way to change this ? Or is this a conflict with Avada ?
Can I translate the plugin as well ?

This thread has been imported from harmonicdesign.ca/hd-quiz/

November 18, 2019 at 12:28pmSophie

Hi Sophie,
for the translation, you can “translate” certain terms/words that appear on the quiz by going to the HD Quiz – > About / options page. From there you can rename things such as the finish button and results into your native language.

For the quiz scrolling to the wrong position, I took a look, and the issue is that your theme header element is causing a conflict. It should be fairly easy to fix, but you’ll need to edit a file in HD Quiz directly to do this. Please let me know if you are comfortable doing this and I’ll send instructions.

18 November 2019 — 16:54support admin Dylan

Hi Dylan, I think I’m having the exact same problem as Sophie, with the theme header causing a conflict, preventing the quiz from scrolling up to the results. Could you send me instructions as well please?

Please send me a link

26 November 2019 — 10:36support admin Dylan

You can try and do the following.

edit ./include/js/hdq_script.js and and line 256, you will see a function called hdq_scroll_to_results

Lines 266 – 271 will show this:
jQuery(hdq_quiz_container).animate({
scrollTop: hdq_top
}, 550);
jQuery('html,body').animate({
scrollTop: hdq_top
}, 550);

Replace all of that with the following:
jQuery('html,body').animate({
scrollTop: jQuery(".hdq_results_wrapper").offset().top + 80
}, 550);

I cannot guarantee that this will fix it for you, but I’m pretty sure this will. Remember to clear your browser cache before testing!

26 November 2019 — 14:18support admin Dylan

Perfecto! Thanks for your help

This thread has either been marked as complete or has been automatically closed due to inactivity. Please consider opening a new support thread for help.