Reorder Portfolio Modal Window of Zelle Pro
Important notice: This product is now in maintenance mode and is no longer being actively developed or supported. Updates and bug fixes will not be provided unless they relate to security concerns.
When loading Zelle Theme, Portfolio Modal, you can see the elements load with title on top and the Featured Image after.
You can change the sequence of those, with some Javascript
To change it and make it look like the screenshot
you can add the following code to your functions.php file
function add_custom_script() { ?> <script> jQuery('.cbp-rfgrid li').each(function(){ jQuery(this).find('.zerif-modal-title-wrap').after(jQuery(this).find('.zerif-modal-content').detach()); }); </script> <?php } add_action('wp_footer', 'add_custom_script');
If you do have any issue, please feel free to let us know