• Hi all,

    It seems that with Lazy Load activated, it causes white spaces above every image on AMP pages.I’ve managed to solve the problem with the following code in the functions file

    /**
     * Stop BJ LazyLoad on AMP Pages
     */
    	function bj_lazyload_amp() {
    		if( is_amp_endpoint() ) {
    			return false;
    		}
    		return true;
    	}
    	add_filter( 'bjll/enabled', 'bj_lazyload_amp' );

    Be great if this could be added as an setting though.

  • The topic ‘AMP with BJ Lazy Load – White Spaces’ is closed to new replies.