New Landing How can we help? Themeforest Theme Support Flexform Deactivating prettyPhoto

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Flexform
  • #6499
    douglance
    Member
    Post count: 12

    How do I deactivate prettyPhoto? I have tried commenting out all mention of it, that I could find, to no avail.

    Please advise. Thank you.

    #6509
    douglance
    Member
    Post count: 12

    Also, would I disable the full-size links on images as well? Thanks!

    #6560
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hey,

    Where do you need it disabled from? Are you using a single image element with the Page Builder, or just regular images inserted? For the first one, you would not link the image.

    Regards,

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

    Cosmin
    Support Assistant

    #6561
    douglance
    Member
    Post count: 12

    Cosmin,

    I need it disabled universally.

    Is there any reason that prettyPhoto must be included with the theme at all?

    Thanks!

    Doug

    #6701
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Doug,

    A lightbox is something that most people want/need to have, that’s why everybody provides such an option 🙂

    To globally disable it, edit /js/functions.js and remove lines 782-792.

    	/////////////////////////////////////////////
    	// PRETTYPHOTO FUNCTION
    	/////////////////////////////////////////////
    	
    	var prettyPhoto = {
    		init: function() {
    			jQuery("a[rel^='prettyPhoto']").prettyPhoto({
    				//theme: 'light_square'
    			});
    		}
    	};

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

Viewing 5 posts - 1 through 5 (of 5 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