Hi guys,
is it possible to place the thumbnail right after the title in the catalogue element?
Thanks,
matthleif
Hey matthleif,
Please share the link to the page where you need this to be done.
Best regards,
Victoria
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