• Tips
  • Widgets
  • Blogger
  • Windows
  • Tools

Add Image Fade Effect on Hover in Blogger with jQuery

Follow Qurkx on Facebook
Never miss an update – join 15K+ followers
Follow

If you need to give a image fading effect when someone mouse hovers on your images in blog post than using below jquery can help you in getting that same effect easily without any problems on updating each and every image this code automatically adds this effect to every latest and older images present in your blog.

So you will get a fading effect like the image below, so when someone hover over your images your images will fade and will get a opacity look.

image-fade-effect-blogger

So now if you like the effect and want to add this to your blogger blog you can easily follow below tutorial, well this can easily done in Wordpress too by just adding the code at the same place as in blogger.

  1. Go to Blogger > Template > Edit HTML.
  2. Now press Ctrl + F and search for </head> tag & paste below code above it.

    <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js' type='text/javascript'/>
    <script type='text/javascript'>
    $(document).ready(function(){
    $(".post img").fadeTo("slow", 1.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads
    $(".post img").hover(function(){
    $(this).fadeTo("slow", 0.5); // This should set the opacity to 100% on hover
    },function(){
    $(this).fadeTo("slow", 1.0); // This should set the opacity back to 30% on mouseout
    });
    });
    </script>

  3. Now you can remove the blue line in the above code if you already have this line in template, now Save your Template and that’s it.
Join Qurkx on Telegram
Join Free Now →

Trending Now

  • Blogger Conditional Tags b:if and b:else for More Blog Customizations
    Blogger Conditional Tags b:if and b:else for More Blog Customizations
  • 10 Essential Free Blogging Tools & Services Every Blogger Needs in 2026
    10 Essential Free Blogging Tools & Services Every Blogger Needs in 2026
  • Watch Indian Television Channels using VLC Media Player
    Watch Indian Television Channels using VLC Media Player
  • Upcoming Hollywood Action Movies Releasing in 2026 & Beyond
    Upcoming Hollywood Action Movies Releasing in 2026 & Beyond
  • Top 9 Websites for Watching Movies Streaming Online for Free
    Top 9 Websites for Watching Movies Streaming Online for Free
  • Prank your Friends with BOMBitUP SMS Bomber Android Application
    Prank your Friends with BOMBitUP SMS Bomber Android Application
  • Naughty 18+ NON-VEG Jokes for WhatsApp and Facebook
    Naughty 18+ NON-VEG Jokes for WhatsApp and Facebook
About UsContactPrivacy PolicyTerms of ServiceDisclaimer
© 2011 - Qurkx // The Digital Collective