Due to some circumstances, this blog is now up for sale, for more enquires contact: Plushista@gmail.com
RealcomBiz
Pin It

Add Zoom Effect To Your Blog Images On Mouse Hover

by Unknown | Thursday, January 03, 2013 | | 14 Comments

I have shared lot's of tutorials on how to add different effect to images, but now, we will be talking on how to add zoom effect to images on mouse hover.
For a demo of what we are talking about, kindly hover your mouse cursor on the image below and see the awesome effect.

DEMO:

How To Add Zoom Effect To Images

  • Go to your blogger dashboard
  • Click on Template > Edit HTML > Proceed
  • Use ctrl F to find ]]></b:skin> and paste the following code above/before it.

.zoomeffect img{
-webkit-transform:scale(0.8);
-moz-transform:scale(0.8);
-o-transform:scale(0.8);
-webkit-transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
opacity: 0.7;
margin: 0 10px 5px 0;
}

.zoomeffect img:hover{
-webkit-transform:scale(1.1);
-moz-transform:scale(1.1);
-o-transform:scale(1.1);
opacity: 1;
}
  • Click on Save template

How To Activate it On Images

Whenever you have uploaded any image in your post editor, simply switch to HTML mode and change the class from what ever it is, to zoomeffect.
Example: Your image class in post editor will be <div class="seperator", now change it to <div class="zoomeffect"

If you are adding it to any other part on your blog, you can use the following code.

 <a class="zoomeffect" href="YOUR-IMAGE-URL/" target="_blank">
<img src="http://YOUR-IMAGE-URL" /></a>

Replace YOUR-IMAGE-URL with the link of the image you want to apply the effect to.
That's all!



Go Social:

Subscribe For Free Updates!

*Please confirm the email sent to your inbox after clicking "Sign Up!".

14 comments : Post Yours! Read Comment Policy ▼
PLEASE NOTE:
We have Zero Tolerance to Spam. Chessy Comments and Comments with Links will be deleted immediately upon our review.

  1. thank uu so much, this is the best hover-on-zoom gadget i found, i have used it in my blog, techytawks.blogspot.com, its awesum thank you. do visit the page

    ReplyDelete
    Replies
    1. You are welcome Danish, glad that you found it usefull for your blog :)

      Delete
    2. Hi. I am shifting my blogspot site to wordpress. I have two questions:

      1) Do blogger blogs have any preference in Google search results?
      2) How to use this zoom effect feature in WordPress.

      I hope you would

      Delete
  2. Hi
    Nice blog
    I have used this code copied from here
    Friends Check Out
    Pak India fashion styles Provides Updates On Fashion In Pakistan & India.
    http://pakindiafash.blogspot.com

    ReplyDelete
  3. Thanks for nice post. I found it very easy to use it on my blog SoftwareDon, a gadgets technology blog.

    ReplyDelete
  4. thank to your code, but how to change the size of images when hover ? thanks

    ReplyDelete
    Replies
    1. scale (1.1); represent the image size on hover. Edit the values.

      Delete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Replies
    1. Just replace .zoomeffect with .post-body from the above code and paste it where it was specified.

      Delete
  7. I have two questions
    1. How to remove white page in my blog ?
    2. How to zoom menu items on mouse hover or selection ?

    I am having dynamic template in my blog

    http://ourptc-sites.blogspot.in

    ReplyDelete
  8. Visit this site for read more in bangla http://urojahaj.blogspot.com/

    ReplyDelete

Recent Posts

Let's Connect

Site Links

Copyright © 2014 RealcomBiz. All Rights Reserved.
Powered by Blogger