How to: Open Toggle from text link
Below is an extract from our ‘Tips & Tricks‘ page.
The Toggle Modules can be opened directly by clicking a link on a page or even in the Dashboard. This is achieved by adding a CSS ID to each module e.g. lightbox-link and then adding that to the text link URL e.g. ……..iconnik/tips-tricks/#lightbox-link
Note: CSS ID tags (anchor tags) are added to Sections, Rows and Modules in the Advanced section and the name given to the CSS ID must be unique, without any spaces and without the # in the Section, Row or Module. The # is only added to the text link URL. An example of an anchor tag taking you to a section on another page in a new tab can be seen by clicking Testimonials
For this to work, it is necessary to add the following code to Divi | Integration, in the body section: