I'm currently trying to rearrange the module header and portfolio image for odd-numbered portfolio items. Feel free to check out my sandbox here.
I thought the code below might do the trick, but it's a no-go.
jQuery(document).ready(function($){
if ( $( this ).is(".et_pb_portfolio_item:nth-child(2)") ) {
$(".et_pb_module_header").insertBefore(".et_portfolio_image");
}
});
Having trouble isolating just the header and image of the module without affecting everything else.