Toggle Active state

closed

Is there a way to change the active state of the toggle button? For instance, blue when unselected and black when selected – only for the track.

November 1, 2023 at 2:41pmasif

There are two parts to a toggle. There is the “track” (which you currently have as the blue), and there is the “switch” (currently in white).

In order to do what you want (blue track for “off”, black for “on”), you can add the following CSS to the Custom CSS section of the styler addon.

.hdq_row .hdq-options-check input[type="checkbox"]:checked + .hdq_toggle:before {background: #000000 !important;}

You can remove the :checked part of the above if you wanted to affect the “off” state.

01 November 2023 — 12:15support admin Dylan

Works Perfectly.

Great work again.

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.