HD Quiz

Need to send invoices?
Check out my new WordPress plugin HDInvoice
Limited time launch sale

Apparently, scrolling is still an issue for me, <a hre…

Published: February 16, 2019
Support status: closed

Apparently, scrolling is still an issue for me, https://www.kafekepo.com/ay… , site doesn’t scroll properly to the results correctly, anybody can help me pls? Thanks.

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

thread author: Mohammad Yusuf

Hi myusuf,I’ve taken a look, but there could be many things going on with your site that would affect this.

One weird thing I see off the bat that could be affecting this is how scrolling works on your site overall. For some reason, your theme CSS has

overflow-y: scroll; on the html element – which is just super weird and is likely causing the issue with HD Quiz being able to calculate what element to scroll, and how far to scroll it.

My recommendation is to remove overflow-y: scroll; from the html element (looks like it;s being added in reset.css file), and add overflow-y: auto; to the body element.

You could also try adding the following snippet to your theme’s CSS

html, body { overflow: auto !important;}

This should force the needed CSS changes. In the basic testing I did of your site, this new CSS will not negatively affect the site design or functionality in any way, but I cannot know for sure if this will fix HD Quiz scrolling for you until you try.

16 February 2019 — 15:05 support admin - Dylan

Hi Dylan,Very much appreciate your quick reply to help me! May I have further clue on how to do it in wordpress platform, please?. I am kind of newbie on this. I will do my best. I did backup and searched relevant files via editor theme in dashboard menu to edit. No luck so far.

16 February 2019 — 20:37 thread author - Mohammad Yusuf

It really depends on your theme. Most themes use style.css as their main CSS file, but since you have traditional view soruce disabled on your site, it’s hard to see if your site is actually loading the file or not. Viewing your theme’s style.css file, I see that it is there, but doesn’t actually contain any CSS. Your theme is a weird one!

Try logging into your site, mousing over appearance from the left sidebar, then selecting editor. This should take your to a simple file editor for your site’s CSS file. The second line of this file should read Theme Name: Newspaper Lite.

At the bottom of this file, (so starting at line 18) add the following snippet.

html, body {overflow: auto !important;}

and then save. Clear your browser cache and check your site to make sure pages are still loading and scrolling OK. Then check HD Quiz and let me know if the scrolling seems to be working for you now.

16 February 2019 — 20:46 support admin - Dylan

Hello Dylan….:-) Yes, It works !! I love it!. Thank you so much for your great work, as always! Just did your advise exactly, clear cache, tried pages, and HD Quiz, and voila…the site scroll up to show the results, perfect!

16 February 2019 — 21:05 thread author - Mohammad Yusuf

Excellent, glad you were able to get it working.

Please consider leaving a review if it’s not too much trouble, and please do not hesitate to ask for support again 🙂

16 February 2019 — 21:17 support admin - Dylan

Thanks, I have just submitted review for your great works!Next development I can think is about statistic result, how many times quiz been played, and other general statistic data collection/tools, it may make a new experience for user. Once again, thank you for your kind help!

16 February 2019 — 21:41 thread author - Mohammad Yusuf

Thank you very much for your review! I appreciate it.

Storing statistics like use count is something I’ve never thought of before, but I think that it’s a good idea. I’ll add it to my list of new features to develop.

16 February 2019 — 21:48 support admin - Dylan

If you are enjoying HD Quiz please leave a review here on the official WordPress.org page. HD Quiz is developed by me, just some dude, and is supported and available for free. It may seem dumb, but truly nothing makes me happier than knowing that people are using and loving HD Quiz and my hard work.

This thread has either been marked as complete or has been automatically closed due to inactivity.