-
AuthorPosts
-
January 20, 2015 at 9:54 am #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
January 21, 2015 at 7:57 am #382889Hey 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,
IsmaelJanuary 23, 2015 at 6:04 pm #384491Hi many thanks but that did not work.
January 26, 2015 at 4:59 pm #385583Hey!
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,
ElliottJanuary 31, 2015 at 4:00 pm #388767This reply has been marked as private.February 2, 2015 at 7:05 pm #389552Hi!
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!
ElliottFebruary 2, 2015 at 7:13 pm #389557Thanks, I end up with a white empty site if I add that unless Im doing it wrong.
Cheers
February 3, 2015 at 10:24 am #389937Hi!
Please get the code from the link then copy it at the very bottom of functions.php file: http://pastebin.com/i9BD8jaH
Best regards,
IsmaelFebruary 3, 2015 at 10:36 am #389942Thanks Ismael, Sorry but it didn’t work,
February 3, 2015 at 9:16 pm #390377Hey!
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, 9 months ago by Elliott.
February 3, 2015 at 9:26 pm #390386This reply has been marked as private.February 4, 2015 at 9:46 pm #390944Hi!
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,
ElliottFebruary 5, 2015 at 10:14 am #391110Hi 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.
February 7, 2015 at 2:12 pm #392473Hi!
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!
IsmaelFebruary 7, 2015 at 2:22 pm #392479This reply has been marked as private.February 8, 2015 at 9:22 am #392658Hey!
Hmm.. Alright. We modified the code a bit. Should be working now. Make sure to check it twice or on another browser.
Cheers!
IsmaelFebruary 9, 2015 at 8:52 pm #393299That seems to have sorted it – thanks for your great support.
-
AuthorPosts
- The topic ‘Portfolio items’ is closed to new replies.