Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #293000

    Is there a way that I can use the post slider element and pull in portfolio items, but not have them link through to a portfolio page. Basically I want to pull in the portfolio item featured image and title but remove the link.

    #293005

    Hi Andrew!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .avia-content-slider .slide-entry {
    pointer-events: none;
    }

    Regards,
    Yigit

    #293076

    That’s amazing. Thank you.

    This is a long shot but I don’t suppose if I did want to have a link that I can control where the link goes. I do not want it to go to the portfolio item but to a custom link. I only appear to be able to do this if I use portfolio grid rather than post slider.

    #293122

    Hey!

    Please add following code to Functions.php file in Appearance > Editor and change the link as needed

    `
    
    function add_custom_script_link(){
    ?>
    <script>
    jQuery(window).load(function(){
    	   jQuery("a.slide-image").attr("href", "http://kriesi.at");
    	   jQuery("h3.slide-entry-title.entry-title>a").attr("href","http://kriesi.at")
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script_link');
    
    
    `

    Best regards,
    Yigit

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