Before you ask please READ THIS

Portfolio Item Hover Effect

edited December 2012 in Skyfashion Posts: 36
Hi!

Is there a way to get rid of the hover effect (div.fancybox_hover) on portfolio images?
I'd rather eliminate the transparent hovering over portfolio items.
I've tried ridding the entire code but then the page starts jumping and acting strange...

Thank you!

Comments

  • Hi,
    the simplest way to do it is deleting this code:

    $('a.alpha-scope').hover(
    function () {
    var children = $(this).children('div.fancybox_hover');
    if (children.length == 0) {
    var content = '';
    $(this).stop(true, true).append(content);
    }
    var height = $(this).children('img').height();
    $(this).children('div.fancybox_hover').height(height);
    $(this).children('div.fancybox_hover').stop(true, true).fadeIn();
    },
    function () {
    $(this).children('div.fancybox_hover').stop(true, true).fadeOut();
    }
    );
    from /common/js/srcipts.js file (at the bottom of it).

    Please let me know if it works for you.

    Best,
    Miłosz
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion