Hi is it possible to remove the fade from one post to another on Post Slider element (with Auto Rotation) checked and change it to a slide? I would also like the previous and return arrows to activate a slide, rather than fade, to the next/previous post.
See https://owe.brother.design/
Thanks
Dominic
Hey domchocolate,
Thank you for the link to your site and your patience, unfortunately modifing the content slider to slide instead of fading would not be easy, I recommend using the featured image slider as it will auto slide and show the title of the post, below I linked to a test page with the title over the image similar to your site for an example.
Please give this a try.
Best regards,
Mike
Hi Mike
Thanks for the advice – I’d overlooked the Featured image slider.
It’s pretty handy except the link to the post is only on text and not the whole tile. Is there a way to tweak the Featured image slider so that the whole thing becomes a link to the page/post?
Thanks in advance
Dominic
Hi,
s there a way to tweak the Featured image slider so that the whole thing becomes a link to the page/post?
This should be possible with a custom script. Please add the following code in the functions.php file.
function ava_custom_script_a() {
?>
<script>
(function($) {
$(document).ready(function() {
$('#top .avia-featureimage-slideshow li').on('click', function() {
var link = $(this).find('.avia-caption-title a').attr('href');
window.location.href = link;
});
});
}(jQuery));
</script>
<?php
}
add_action('wp_footer', 'ava_custom_script_a');
You may also need to include this CSS.
#top .avia-featureimage-slideshow li {
cursor: pointer;
}
Best regards,
Ismael