Hi guys,
I couldn’t find an answer in the forum, so here I go:
Is it possible to add a custom id to the tabs and toggles instead of the automatically generated “#tab-id-1” or “#toggle-id-4”?
For this page ( http://www.onlinebiblecommentary.com/online-bible-commentary/ephesians-1/ ) I would like to have something like “#v1to6” and “#outline-chapter-1”. It would of course be different for each page and each tab/toggle.
Thanks!
UC
Hi understandchristianity!
While this is possible, will probably take a lot of thinking and custom code, the toggles are created on this shortcode, /config-templatebuilder/avia-shortcodes/toggles.php, You will need to find a way to solve the #v1to6 and add #outline-chapter-1, add the custom javascript to modify and search for this id’s inside or the toggle ( so when you click they slide up/down ) respectively, so I will outline the points below for more clarity :
1) File to modify /config-templatebuilder/avia-shortcodes/toggles.php
2) Find a way to assign custom ID’s.
3) Create a custom/ modify javascript file that listens when you click on the link and toggles ( slide up/down. )
What you could do also is use this service cost effective / reliable to performed this mod http://studio.envato.com/
Regards,
David