Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #523146

    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!

    #523612

    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

    #523860
    #524329

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.