Hi,
I would like to make also the extract s a link. I am using a child theme as I expect code, not only css changes, are needed.
Is this doable?
Best regards
Hey nkarkine,
Can you please elaborate on the changes you would like to make? A link to your page where you would like to make changes would help as well :)
Best regards,
Yigit
I want to turn the portfolio grid from (1) to (2), already done css changes but I need the “button” to work. Pls see img link in private. Does that explain my goal?
Hi,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
Rikard
Hi,
Thank you for the info. We added this code in the functions.php file:
// grid link
add_action('wp_footer', 'ava_custom_script_gl');
function ava_custom_script_gl(){
?>
<script>
(function($){
function b() {
$('.grid-entry').each(function() {
var excerpt = $(this).find('.grid-entry-excerpt'),
link = $(this).find('.grid-image').attr('href');
excerpt.on('click', function() {
window.location.href = link;
});
});
}
b();
})(jQuery);
</script>
<?php
}
And the following css code in the style.css file of the child theme:
.grid-entry-excerpt.entry-content {
cursor: pointer;
}
Best regards,
Ismael
Thanks. Great!