April 15, 2020
Pop Up with SoulSections
Author:
Dave Bloom
Description:
Out of the box SoulSections already gives you a few ways. What I wanted was a popup that was triggered by opening the page.
By using Combination-G (a preset in SoulSections, you’ll find it under rows > columns > SoulSection Combinations) and adding a few lines of JavaScript this is easily achieved.
Kind:
Beaver, plugin, soulsections
Javascript:
jQuery(window).load(function(){
//click the button that points to .modal-d and then remove the button
jQuery('[data-target=".modal-d"]').trigger('click').remove();
//hide the module
jQuery(".my-module").removeAttr("style").hide();
});