HD Quiz

Is there any way to use a custom button on a multiple-cho…

Published: May 22, 2023
Support status: closed

Is there any way to use a custom button on a multiple-choice quiz? Right now its an on/off button but I’d like to make it a checkbox.

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

thread author: Nick

Hi Nick,
short answer: no.

Long answer: yes, but with caveats.

If you look at the addons page under HD Quiz and look at the Quiz Styler addon and the accompanying screenshots, you will see that the addon can customize the “toggle style” in many different designs and colours. None of them, however, are classic “checkboxes” and all follow the toggle format.

If you know CSS though, you can make your own checkbox style, or even completely remove HD Quiz toggles and replace with a generic checkbox. This can be done with the following CSS:

.hdq-options-check input[type="checkbox"] { opacity: 1 !important; margin-top: -1.5em; } .hdq_question .hdq-options-check .hdq_toggle { display: none !important; }

23 May 2023 — 12:02 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.