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.
| <?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"> |
| <?php | |
| function disable_specific_blocks( $allowed_block_types, $post ) { | |
| // Make sure allowed types is an array | |
| if ( ! is_array( $allowed_block_types ) ) { | |
| $allowed_block_types = array( | |
| 'core/block', // Required to enable "Reusable blocks" feature. | |
| 'core/columns', | |
| 'core/paragraph', | |
| 'core/image', | |
| 'core/heading', |
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.