Hey guys, really submitting this as a bug fix / feedback.
When making a new post, we came across an issue that when we had the word “Gift” in the blog title, the hover effect on the featured image wouldn’t work. Finally found the issue after an a bunch of hunting. Website for reference: http://www.sweetsleep.org/blog
in /enfold/js/avia.js line 560:
if( url.match(/(jpg|gif|jpeg|png|tif)/) ) span_class = “overlay-type-image”;
if(!url.match(/(jpg|gif|jpeg|png|\.tif|\.mov|\.swf|vimeo\.com|youtube\.com)/) ) span_class = “overlay-type-extern”;
This works as:
if( url.match(/(\.jpg|\.gif|\.jpeg|\.png|\.tif)/) ) span_class = “overlay-type-image”;
if(!url.match(/(\.jpg|\.gif|\.jpeg|\.png|\.tif|\.mov|\.swf|vimeo\.com|youtube\.com)/) ) span_class = “overlay-type-extern”;
Logan & Mason Dickerson
Legends Hill
Hey Aaron!
I can’t seem to reproduce it on my end. Do you mean when “gift” is used in the image filename?
Best regards,
Elliott