Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter opticomit

    (@opticomit)

    Yes you are right, the problem persists after removing the DNT, but another link with an image in the footer is displayed correctly.

    Seems like there is a problem with the avada theme and DNT. Any ideas how we can fix this?

    Thread Starter opticomit

    (@opticomit)

    Yes, I doublechecked the sourcecode with notepad++
    Both sites are exactly the same, except the changed post-id’s and the a-tag

    The code of the .js file you wrote is:

    // Woocommerce lightbox
    		 var ppArgs_woo = ppArgs;
    		ppArgs_woo.hook = 'data-rel';
    		jQuery("a.zoom, a[data-rel^='prettyPhoto']").prettyPhoto(ppArgs_woo);
    
    		if(Boolean(Number(js_local_vars.lightbox_post_images))) {
    			jQuery('.single-post .post-content a').has('img').each( function() {
    				if( ! jQuery( this ) .attr( 'rel' ).indexOf( 'prettyPhoto' ) === -1 ) {
    					jQuery( this ).prettyPhoto(ppArgs);
    				}
    			});
    			jQuery('#posts-container .post .post-content a').has('img').each( function() {
    				if( ! jQuery( this ).attr( 'rel' ).indexOf( 'prettyPhoto' ) === -1 ) {
    					jQuery( this ).prettyPhoto(ppArgs);
    				}
    			});
    			jQuery('.fusion-blog-shortcode .post .post-content a').has('img').each( function() {
    				if( ! jQuery( this ).attr( 'rel' ).indexOf( 'prettyPhoto' ) === -1 ) {
    					jQuery( this ).prettyPhoto(ppArgs);
    				}
    			});
    		}

    Maybe this is not compatible with ditty?
    When I comment out this part, everything seems to be ok.

Viewing 2 replies - 1 through 2 (of 2 total)