Stop the hover and redirection on img

Discussion in 'Andrina WordPress Theme' started by lalo6602, Mar 31, 2013.

Thread Status:
Not open for further replies.
  1. lalo6602

    lalo6602 New Member

    Joined:
    Jan 3, 2013
    Messages:
    11
    Likes Received:
    0
    Is there a way to change the CSS to stop the image from fading with a hover and I also don't want to have the image redirect to a thumbnail. I am working with Andrina Pro.
    Thanks,
    Ed B




     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .feature-content .feature-item img {
    pointer-events: none;
    }
    This will solve your issue.
     
  3. lalo6602

    lalo6602 New Member

    Joined:
    Jan 3, 2013
    Messages:
    11
    Likes Received:
    0
    Hi Gourav,

    That pointed me in the right direction to stop the hover event. But I had to change it to...
    Code:
    a img.aligncenter {
    pointer-events: none;
    }
    so it works with my setup, but it still redirects to the thumbnail when I it is clicked. Is there a way to stop it from doing that.

    Thanks,
    Ed
     
  4. lalo6602

    lalo6602 New Member

    Joined:
    Jan 3, 2013
    Messages:
    11
    Likes Received:
    0
    Problem resolved I used the Rule you provided and applied it to the element I need to change.

    Thanks,
    Ed Broderick
     
Thread Status:
Not open for further replies.

Share This Page