Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #641541

    Hello!
    Any pointers on how to make “Featured Image Slider” image clickable with a URL to the corresponding post?

    #641553

    Hey 360moms!

    Can you please post the link to your page and point out the featured image so we can check which blog style you are using and provide you an accurate answer?

    Regards,
    Yigit

    #641554

    Here you go

    #641555

    Here you go

    #642383

    Hi,

    There is no option for that by default but you can enable the “read more” button in the slider options. Look for the “Title and Read More Button”.

    Best regards,
    Ismael

    #642499

    Yes I know. I’m asking for pointers to customize the code.

    #643063

    Hi,

    I see. Please add this in the functions.php file:

    // slide link
    add_action('wp_footer', 'ava_new_custom_script_sl');
    function ava_new_custom_script_sl(){
    ?>
    <script type="text/javascript">
    (function($) {
      	function c() {
    		$('.avia-featureimage-slider-wrap .avia-slideshow-inner li').click( function() {
    			var link = $(this).find('.avia-slideshow-button').attr('href');
    			window.location.href = link;
    		});
       	}
    
       	c();
    })(jQuery);
    </script>
    <?php
    }

    And in the Quick CSS field, add this code:

    .avia-featureimage-slider-wrap li {
        cursor: pointer;
    }

    Best regards,
    Ismael

    #808216

    Trying to do the same thing as above, but changes aren’t showing up on live site.

    I’ve added the code and the quick CSS but changes aren’t showing up.

    Any suggestion on how to fix this.

    #809570

    Hi,

    Do you have any cache active, which you need to disable to have the things work properly?

    Best regards,
    Basilis

    #809592

    Issue was resolved here: https://kriesi.at/support/topic/how-to-make-the-featured-image-slider-clickable/

    Turned out a CSS class just needed to be updated.

    #809650

    Hi Nick,

    Great, glad you found the problem and thanks for sharing the solution.

    Best regards,
    Rikard

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