-
AuthorPosts
-
June 1, 2016 at 3:04 pm #641541
Hello!
Any pointers on how to make “Featured Image Slider” image clickable with a URL to the corresponding post?June 1, 2016 at 3:24 pm #641553Hey 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,
YigitJune 1, 2016 at 3:25 pm #641554Here you go
June 1, 2016 at 3:26 pm #641555Here you go
June 3, 2016 at 6:04 am #642383Hi,
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,
IsmaelJune 3, 2016 at 11:14 am #642499Yes I know. I’m asking for pointers to customize the code.
June 5, 2016 at 5:57 am #643063Hi,
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,
IsmaelJune 14, 2017 at 9:12 pm #808216Trying 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.
June 18, 2017 at 4:35 pm #809570Hi,
Do you have any cache active, which you need to disable to have the things work properly?
Best regards,
BasilisJune 18, 2017 at 7:00 pm #809592Issue 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.
June 19, 2017 at 6:05 am #809650 -
AuthorPosts
- You must be logged in to reply to this topic.
