Add captions to your Blogger Posts Images

by Deineshd on November 28, 2008

Share


Captions means the short explanation, or description accompanying an illustration or a photograph.Using Captions for images in your blog posts will make you easy to describe that picture.So i have brought you a tutorial that helps you show the captions just below the images in the cool way.
caption Add captions to your Blogger Posts Images
To show the captions to your blog posts images first paste the following code between <head> and </head> Tags in your Template and save your Template.

<style type=”text/css”>
.caption {
border: 1px solid #DDDDDD;
text-align: center;
background-color: #EEEEEE;
padding: 4px 0px 5px 0px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

.caption img {
margin: 0px 0px 5px 0px;
padding: 0px;
border: 0px;
}

.caption p.caption-text {
margin: 0px;
padding: 0px 0px 0px 0px;
font-size: 11px;
font-weight: normal;
line-height: 12px;
}
</style>

After you Save the Template you have to apply the style for the images in the posts.For that use the code in your blog posts as in the same style as below.

<div class=”caption” style=”width: 410px;”><img src=”http://1.bp.blogspot.com/_Sy2Ab2UICp0/SSre-9RBYsI/AAAAAAAAAiU/UodMHHs4wcQ/s400/revolution+lifestyle+Blogger+Template.png”/><p class=”caption-text”>This is the screenshot of the Great Revolution Lifestyle Blogger Template.
</p></div>

Here I have used width 410px for the image.always use width 10px more than the width of the image.Enjoy

Consider to Subscribe to our RSS feed or Follow us at Twitter or Join our Facebook Fan Page.Enter your Email below to subscribe to our updates via Email.

Enter your email address:

Delivered by FeedBurner

Similar Posts

Powered by Thesis

Thesis Theme

An amazing WordPress Theme, nothing beats the versatility and SEO friendliness of the Thesis framework.

From beginners, to the most advanced WordPress developers, Thesis makes it easy for anyone to customize it.

{ 6 comments… read them below or add one }

Anonymous December 1, 2008 at 2:28 pm

Hello!
It is good that, but I do not see a great sense just to load code with the template!
The same may happen as upload photos write text into it tsentrirash and text!:)
Good luck

Reply

Karthik December 4, 2008 at 5:15 am

Hai Deinesh..Are u see this Site ? Revolution Tech template is free download here…

Reply

Anand April 8, 2009 at 12:14 pm

That was good. I hv implimented this recently and I’m liking it.

Rock on.
Andy.
http://takeuplaces.blogspot.com/

Reply

Helen M. Bascom July 7, 2009 at 3:34 am

I like the caption underneath the photo – great idea. I just have one problem, When I did this it completely rearranged my post. I had text to the right of the photo, now I can not get the text to go there. Everything wants to go into the caption. Here is an example:

Active Art Post

Reply

Thaman December 7, 2009 at 11:11 am

Really cool
.-= Thaman´s last blog ..Apple iPod Touch 32 GB – IInd Generation – Old Model =-.

Reply

Habib Ahmed December 23, 2009 at 1:46 pm

I did that… Let me try that on another of my blogs… I’ll keep you updated..

Reply

Leave a Comment

Previous post:

Next post: