I am trying to add a corner stamp, however is not being displayed properly, i think there is an issue with the js code.
This is the official demo Masonry Corner Stamp
This is where I am adding it to Website
This is the JS File
I tried adding the following code on top of the JS code in the file but it still doesnt work..
$.Isotope.prototype._masonryResizeChanged = function() {
return true;
};
$.Isotope.prototype._masonryReset = function() {
// layout-specific props
this.masonry = {};
this._getSegments();
var i = this.masonry.cols;
this.masonry.colYs = [];
while (i--) {
this.masonry.colYs.push( 0 );
}
if ( this.options.masonry.cornerStampSelector ) {
var $cornerStamp = this.element.find( this.options.masonry.cornerStampSelector ),
stampWidth = $cornerStamp.outerWidth(true) - ( this.element.width() % this.masonry.columnWidth ),
cornerCols = Math.ceil( stampWidth / this.masonry.columnWidth ),
cornerStampHeight = $cornerStamp.outerHeight(true);
for ( i = Math.max( this.masonry.cols - cornerCols, cornerCols ); i < this.masonry.cols; i++ ) {
this.masonry.colYs[i] = cornerStampHeight;
}
}
};

Any help is appreciated
This version here provided by the author (with filtering as added bonus) usually works.