Hi. wondering if there is an easy way to move the text box below a masonry image from the default location to he top?
current set / position – http://snag.gy/yAEqJ.jpg
what I am trying to do – http://snag.gy/iGXyP.jpg
I am comfortable updating code, but I am not familiar enough with your framework to know if this would require coding or just some CSS.
thanks in advance for your help on this!
Hi MindSpark,
Could you provide us with a link to the site in question so that we can take a closer look please?
Thanks,
Rikard
Hi!
Add this in the functions.php file:
// portfolio mod
function add_custom_script(){
?>
<script>
(function($) {
$('.av-masonry-entry:even').each(function() {
var $content = $(this).find('.av-inner-masonry-content').detach();
$(this).find('.av-inner-masonry').prepend($content);
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');
Make sure that the post number and columns are set to even numbers.
Regards,
Ismael