Add the JS snippet to your global js footer reveal effect (the "footer.fl-builder-content" target is specific to a beaver builder footer, but can be modified as needed).
Header will need to be set to sticky and overlay by default.
Simply add this script to your global JS or enque as a seperate script file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( 'columns' == $settings->layout ) : ?> | |
<div class="fl-post-column"> | |
<?php endif; ?> | |
<div <?php $module->render_post_class(); ?> itemscope itemtype="<?php FLPostGridModule::schema_itemtype(); ?>"> | |
<?php FLPostGridModule::schema_meta(); ?> | |
<?php $module->render_featured_image( 'above-title' ); ?> | |
<div class="fl-post-grid-text"> |