New Landing How can we help? Themeforest Theme Support Pinpoint Gallery Arrows To Next Image

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Pinpoint
  • #2597
    KaveshanChetty
    Member
    Post count: 11

    Hi there…

    Not sure if this was covered already… I managed to sort the gallery out in http://www.bearingcorporation.com Client however would like arrows to move to the next image. How can i sort this out… Alternatively what would i need to disable to use prettyphoto Media rather…

    #2659
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hey,

    Unfortunately we can’t cover client customizations with theme support, I suggest hiring someone if you need to customize the theme’s lightbox.

    If you want to disable it, you can do so in js/functions.js, it’s this block of code:

    /////////////////////////////////////////////
    // FANCYBOX FUNCTION
    /////////////////////////////////////////////
    
    var fancybox = {
    	init: function() {
    		jQuery('.fancybox-media').fancybox({
    			margin: 50,
    			helpers : {
    				media : {}
    			}
    		});
    		jQuery('.zoom').fancybox({
    			margin: 50
    		});
    	}
    };

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #2803
    KaveshanChetty
    Member
    Post count: 11

    Hi Cosmin..

    Thank you so much… I tried that but alas it didnt work… Any other ideas as to how to disable it?

    #2822
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Oooops, it’s using View.js, not Fancybox.

    Try editing functions.php and changing line 141 so that it looks like this:

    // wp_register_script('viewjs', get_template_directory_uri() . '/js/view.min.js?auto', 'jquery', TRUE);

    Then, lower down:

    // wp_enqueue_script('viewjs');

    I’ve added // in front of it, so it would be commented out and not use View.js on images. Together with my previous suggestion, you should now be able to use a lightbox plugin yourself.

    Note that this will need to be done again if you update the theme.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register