aw_support
11/5/2019 - 9:40 PM

Removing/Adding Class

// Removed or adds the class
jQuery(".target-class").removeClass("old-class").addClass("new-class");

// Example: Making logo larger
jQuery(".logo-section").removeClass("large-2").addClass("large-3");

// close accordion faq by default
jQuery('#block-contentlist .accordion-item').removeClass('is-active');