Making a link for a specific toggle:

x=jQuery('.fusion-row');

if x.outerHeight(true) >= 65 add 65 otherwise no

$(document).ready(function() {

    if(window.location.hash.length > 0) {

        window.scrollTo(0, $(window.location.hash).offset().top-65);

    }

});


add class “in” to panel-collapse to make it open

have to change class from active to collapsed and vice versa for icon to change


  • lwc/wordpress/avada.txt
  • Last modified: 2020/11/26 22:46
  • by John Harrison