Make it possible to link to a DIVI Builder Toggle


I need to add the code that makes it possible to link to a CSS ID added within DIVI BUILDER . I want to be able to use URL's to link to a TOGGLE on any given page. The second link above supplies some code but i do not know where to add it in the cherry framework as I am not using the DIVI theme but only the DIVI builder within another theme.

Could you help me to make it possible to link to an open toggle using a URL and CSS ID?

many thanks and screen grabs to illustrate.