Nested toggles

9 replies · opened Feb 17, 2021

HhjigginsFeb 17, 2021

Hi,
Thanks for your reply to my question on themeforest.net regading your canvas theme. You asked me to contact you directly so you could assist me with the following:
I’m trying to place a toggle within a toggle (nested), but the child toggle is open by default and the plus/minus symbols don’t work properly. Is it possible to have nested/child toggles within a parent toggle?
Thanks for any help you can provide.

SSemicolon WebSTAFFFeb 17, 2021

Hello,

  1. Simply replace the existing js/plugins.min.js File with the File attached to this reply.

  2. Find the following code in the style.css File:
    [ch_pre type="css"].toggle:not(.toggle-active) .toggle-open,
    .toggle-active .toggle-closed { display: none; }

.toggle-active .toggle-open { display: inline-block; }[/ch_pre]

and replace it with:
[ch_pre type="css"].toggle:not(.toggle-active) > .toggle-header .toggle-open,
.toggle-active > .toggle-header .toggle-closed { display: none; }

.toggle-active > .toggle-header .toggle-open { display: inline-block; }[/ch_pre]

This will definitely work fine and will be introduced in the Next Update. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

HhjigginsFeb 18, 2021

Fantastic thanks a lot, that worked perfectly! Helen

SSemicolon WebSTAFFFeb 18, 2021

Hello,

Very Happy to help!

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

HhjigginsFeb 18, 2021

Actually I do have one more question: On the GDPR modal with cookie preferences (with the switch-toggles to turn on/off preference for Google Ads, Youtube cookies etc), your system doesn't remember the individual preferences (only websiteUsesCookies cookie is stored). How can I set a separate cookie for each one of the switch-toggles so I can retrieve the values elsewhere on the site to decide whether to deliver that content or not?
Thanks.

SSemicolon WebSTAFFFeb 18, 2021

Hello,

This functionality is not implemented at the moment and the GDPR is provided only as Templates but we have already started working on it and this will be available in the Next Update. We will send you a Notification once this is available. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

HhjigginsFeb 18, 2021

OK thanks. Do you have know when the next update might be?

SSemicolon WebSTAFFFeb 18, 2021

Within Next Week for sure. We are just in the Testing Phase at the moment.

HhjigginsFeb 18, 2021

Wow, that's fantastic. Very happy with the template and your support, good work!!

SSemicolon WebSTAFFFeb 18, 2021

Hello,

Thanks for the Kind Words! :) Very Happy to Help!

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard