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

    Hi guys,
    is it possible to place the thumbnail right after the title in the catalogue element?
    Thanks,
    matthleif

    #1094392

    Hey matthleif,

    Please share the link to the page where you need this to be done.

    Best regards,
    Victoria

    #1094642
    This reply has been marked as private.
    #1095548

    Hi,

    Thanks for the update.

    This is possible but it might ruin the layout of the catalogue container. Add this script in the functions.php file:

    add_action('wp_footer', 'ava_custom_move_catalogue_elements');
    function ava_custom_move_catalogue_elements(){
    	?>
    	<script type="text/javascript">
            (function($) {
                $('.av-catalogue-item').each(function() {
                    var image = $(this).find('.av-catalogue-image');
                    var title = $(this).find('.av-catalogue-title');
                    if(image) {
                        image.insertAfter(title);
                    }	
                });
            })(jQuery);
    	</script>
    	<?php
    }
    

    And insert this css code in the Quick CSS field or the child theme’s style.css file.

    .av-catalogue-content {
        clear: both;
    }
    
    .av-catalogue-title {
        float: left;
    }

    Best regards,
    Ismael

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