Removing opacity hovering on images?

Discussion in 'Dzonia WordPress Theme' started by asefredrikson, May 15, 2013.

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

    asefredrikson New Member

    Joined:
    Apr 22, 2013
    Messages:
    4
    Likes Received:
    0
    Hello! How do I remove the opacity softening when hovering images? Thanks!



     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to js > custom.js present in your theme directory and remove the code given below

    Code:
    //Fade images
    jQuery(document).ready(function(){
        jQuery(".featured_content img, .post img, .sidebar .recent_post li img, .sidebar ul li").hover(function() {
          jQuery(this).stop().animate({opacity: "0.5"}, '500');
        },
        function() {
          jQuery(this).stop().animate({opacity: "1"}, '500');
        });
      });
    This will solve your issue.
     
  3. asefredrikson

    asefredrikson New Member

    Joined:
    Apr 22, 2013
    Messages:
    4
    Likes Received:
    0
    Thank you so much for your prompt reply!
     
Thread Status:
Not open for further replies.

Share This Page