Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #382343

    Hi is it possible to turn off the link option that you get within the portfolio option, When you click on a portfolio option (ajax view) it opens up a large image with a text area to the right. if you hover over the image it highlight the link (circle with arrow) and if you click that it opens up the image. I would like to disable that option if possible.

    Many thanks

    #382889

    Hey Dogmut!

    Thank you for using Enfold.

    Yes, you can disable it. Just add this on Quick CSS:

    #top .portfolio-preview-image .avia-gallery .avia-gallery-big {
    pointer-events: none;
    }

    Regards,
    Ismael

    #384491

    Hi many thanks but that did not work.

    #385583

    Hey!

    Are you trying to get rid of the circle icon that pops up when you hover over one of the images? If so then try adding this to your custom CSS.

    .avia-slideshow-inner .image-overlay .image-overlay-inside { display: none !important; }
    

    If that’s not correct then send us a link to your page and take a screenshot highlighting what your trying to do so we can get a better idea.

    Best regards,
    Elliott

    #388767
    This reply has been marked as private.
    #389552

    Hi!

    Try adding this to the bottom of your functions.php file.

    add_filter( 'avf_slideshow_link_tags', 'enfold_customization_change_image_tags', 10, 2 );
    function enfold_customization_change_image_tags( $beginning, $end ) {
    	return array( 'div', 'div' );
    }

    Cheers!
    Elliott

    #389557

    Thanks, I end up with a white empty site if I add that unless Im doing it wrong.

    Cheers

    #389937

    Hi!

    Please get the code from the link then copy it at the very bottom of functions.php file: http://pastebin.com/i9BD8jaH

    Best regards,
    Ismael

    #389942

    Thanks Ismael, Sorry but it didn’t work,

    #390377

    Hey!

    Try uploading a fresh copy of the theme and then add it back in to the bottom of your functions.php file. If it’s still giving you a white screen then there must be a typo somewhere. Send us a login and we’ll take a look.

    Regards,
    Elliott

    • This reply was modified 9 years, 2 months ago by Elliott.
    #390386
    This reply has been marked as private.
    #390944

    Hi!

    The problem is this part.

    /*
     * add option to edit elements via css class
    

    It’s missing an ending comment tag so everything you add beneath it will be commented out.

    Change it to this.

    /*
     * add option to edit elements via css class
    */

    And then add the code below it.

    Regards,
    Elliott

    #391110

    Hi Elliot its still not working. I have cleared caches, replaced the functions file and tried it on another server. Im not getting the white screen but its not removing the image link (circle with arrow)

    Many thanks.

    #392473

    Hi!

    Please check it now: http://1stcall.dragonpix.co.uk/?page_id=48

    We added this code on functions.php:

    add_action('wp_footer', 'ava_ajax_mod', 5);
    function ava_ajax_mod(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
    		$('.av_table_col.first.portfolio-preview-image .avia-slideshow li a, .av_table_col.first.portfolio-preview-image a').each(function() {
    			$(this).removeAttr('href');
    		})	
        });
    })(jQuery);
    </script>
    <?php
    }

    This one on Quick CSS:

    .av_table_col.first.portfolio-preview-image span.image-overlay.overlay-type-video {
    display: none !important;
    }

    Cheers!
    Ismael

    #392479
    This reply has been marked as private.
    #392658

    Hey!

    Hmm.. Alright. We modified the code a bit. Should be working now. Make sure to check it twice or on another browser.

    Cheers!
    Ismael

    #393299

    That seems to have sorted it – thanks for your great support.

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘Portfolio items’ is closed to new replies.