Can someone help with this code issue?
$(document).ready(function () {
if ($('.pi-img').height() > 100) {
$(this).css('top' , '30%');
console.log('yeah');
}
});
I am encountering difficulties getting it to function properly.