Beautiful Animated Hover Effect Captions For Images On Blogger

Posted : Sunday, March 27, 2011 | Post Author : Paul Crowe | 18 comments

Css3 Blogger Tutorial

In this post we have not only an amazing effect you can add to the images you use in your blog posts but it’s amazingly simple and amazingly fast so wont slow down you page load time.The effect is similar to what you will see on many Featured Posts Gadgets, when you hover your cursor over the image a caption scrolls up from the bottom with your selected text.

So, you can have the title of the image, a description, date taken, credit or anything you like.The code we will use has No Javascript this ensures it will load fast and as i said not slow down your blog.The code is all Css3 (Don’t Worry I Will Keep It Simple) so you have a flowing and transparent effect with the caption.There is also a stylish Shadow edge around the image On-Hover.

Just show us the demo and screenshot so we can see for ourselves i here you shout !

OK But, Before i show you the demo you should note while this image caption will work with all browsers older versions of Internet Explorer will not have the fluid style or transparency.Internet Explorer 9 does a better job and it works perfect in Firefox and Chrome.

Live Demo – Animated Hover Effect Image Caption


Beautiful Animated Hover Effect Captions For Images On Blogger

Use Hover Effect Image Captions On Your Blog

Step 1. In Your Blogger Dashboard Click > Design > Edit Html

Design Edit Html Blogger

Step 2. Find the following piece of code in your blogs Html : (Click Ctrl and F for a search bar to help find the code – More Info)


Step 3. Copy And Paste The Following Code Directly Above / Before  ]]></b:skin>

Scroll Box – Make Sure Your Get All the Code

<!–Start Image Caption Css–>
#image-hover {

#figure {
padding: 1px;

#figure:hover {
-moz-box-shadow:0 0 20px rgba(0,0,0,0.75);
-webkit-box-shadow:0 0 20px rgba(0,0,0,0.75);
box-shadow:0 0 20px rgba(0,0,0,0.75);

#figure .caption {
opacity: 0.75;
-webkit-transition: margin-bottom;
-webkit-transition-duration: 400ms;
-webkit-transition-timing-function: ease-out;
-moz-transition-property: margin-bottom;
-moz-transition-duration: 400ms;
-moz-transition-timing-function: ease-out;
-o-transition-property: margin-bottom;
-o-transition-duration: 400ms;
transition: margin-bottom;
transition-duration: 400ms;
transition-timing-function: ease-out;

#figure:hover .caption {

#image-hover .caption {
font-family: Arial, Helvetica, sans-serif;

#image-hover .caption b {
text-shadow: 0px 2px 0px #000;
#image-hover .caption {
color: #ddd;
line-height: 24px;
font-size: 14px;
text-shadow: 0px 2px 0px #000;
<!–End Image Caption Css, Info : –>

Code Credits – Blogger Bits

That’s the Css code to create the effect added to your template, The next step is the image itself.

When you want to use this effect on an image in a post copy the code below, paste it into your post and then add your image URL and text as shown.

<div id=”image-hover”>
<div id=’figure’>
<img src=”IMAGE-URL-HERE”/>
<span class=’caption’>
<b>Title Here..</b>
Description Here…



You will need to add your image URL and text as shown Below :

IMAGE-URL-HERE : Replace With The URL Of The image You Want To Use.
Title Here : Replace With An Image Title Or Other Text.
Description Here : Replace With An Image Description Or Other Text.

How To Get Your Image URL

I try to leave no one behind so if your a complete newbie you may ask ‘How Do I Get The Image URL ?’.

OK, basically upload your image to blogger as usual, in the HTML view of your post editor your image code will look something like this :

<div class=”separator” style=”clear: both; text-align: center;”>
<a href=”” imageanchor=”1″ style=””><img border=”0″ height=”213″ width=”320″ src=”” /></a></div>

The actual image URL is the part in red, if your still having trouble drop a comment.

That another great Blogger Image Tutorial with a very cool effect, make sure to check out more of our Image Tips and Blogger Gadgets.

Drop your Comments and Questions Below.


  1. thank you so much really helpful


  2. Really Super. Because, steps to do is very simple. Thanks to shared. 🙂



  3. This post was really great. I’m going to use this effect on my blog.
    Thanks a lot!


  4. Useful post.

    I have a question please:

    What change should I make to the code, if I want the title and description of the hover effect to be Right to Left and aslo with my own font?




  5. thank you!


  6. Thanks Everyone For The Positive Comments !

    @ Masnawi – The font is set in the Css code within the scroll box :

    font-family: Arial, Helvetica, sans-serif;

    I presume you write your blog in a language that reads right to left.I have never looked into this before and don’t currently have an answer.I will see if there is a simple solution and post another comment to let you know.



  7. Thank you Paul. Yes, my weblog is in a language which is RTL(right to left) written.

    I am eagerly waiting to read your comment on solving this issue.


  8. leavesnbloom photographyMarch 28, 2011 at 3:40 PM

    This is great Paul – thankyou


  9. Would it be possible to put an example picture with image caption into your post? From reading this, I’m not sure whether it’s worth the effort of install it and customising each picture or not.


  10. @ Mary – Did you see the demo in the test blog ? It would look the very same here.You can try it out in a post on your blog and if you dont like it just remove the code..



  11. Thanks it is very helpful it solved many problems.


  12. very nice tricks..thanks, i used on my blog


  13. Muhammad MuhammadApril 1, 2011 at 5:13 PM

    Hi there

    you have a fantastic blog tuttorials even i have added several widgets from your blog. Please can you tell me that How you have added flying twitter bird on your blog. Please can you tell me?


  14. LovefortechnologyMay 14, 2011 at 3:13 PM

    Thank you very good and easy,
    I was looking for something for a long time.


  15. Thank you Mr Paul. Love this.


  16. hi. i love the effect but im having ALOT of issues with image size… it doent matter if i upload the pics directly or copy the url from flickr or picassa…





  17. Hi Kim, you could use the exact same code (img src…) from before, just put it in the right divs. Meaing: replace <img src … from the new code with <img src.. from the old code that has all the dimensions and formatting.

    Hope i made it clear enough.

    Paul, thanks for the code 🙂