December 23, 2008
Now there's a practical tutorial!
How to place different background picture for each post? Or how to make each post appear in different color?

Here's the example: different background in each blogger post...
WHEN IS THIS CONVENIENT?
► if you want to make a specific post stand-out (like a theme post)
► when you have multiple authors in a Blog, this is an easy way to unify the Post appearance according to each author
► this method can also be used just to highlight just the part of the Post
► and anything else you can think of......this can really break dullness of the regular Posts....
HOW TO DO IT?
It's done by wrapping your Post content into a "div" element. You can apply these setting to your already published posts, too....and change/remove it anytime....
Code for Changing the Color of the Post Background
<div style="background:#FFE1FF; padding:5px 8px 5px 8px;">
Your text goes here....
</div>
...in orange is the line you have to place at the BEGINNING of your post....Your text goes here....
</div>
...in pink is the line you have to place at the END...
...replace the part in green with preferred color hex value...
...instead of "Your text here...." you will place your Post content, of course...
...we've added some padding, so the text is not too close to the borders...
Code for placing the Background image behind the Post
<div style="background:url(URL ADDRESS OF THE PIC) no-repeat;">
Your text goes here....
</div>
...in green, you need to place the URL address of your hosted picture (use Photobucket, Tinypic...)Your text goes here....
</div>
...in orange is the line you have to place at the BEGINNING of your post....
...in pink is the line you have to place at the END...
...instead of "Your text here...." you will place your Post content, of course...
Now, you have some more options here...
► you can use small pattern, and set it to repeat across the Post area (just remove "no repeat" from the code)
► you can position the picture and place it in desired location inside the Post (background pictures in blogger)
► combine color + background picture (background:#000000 url(URL ADDRESS)no-repeat;)
Here's the example of the placed code in the Post Edit box:
► my advice is to do the code placing when you're done with composing the post► do it in EDIT HTML Post editor
► if you go back to edit the code, you will notice that the Blogger slightly changed the code....no worries, it's the same thing, just the different looks...
Smile!

















24 comments:
Thanks for the tip !!
I relly like your blog!!
keep it up !
Thankyouthankyouthankyou. :)
Thank you, gang....
:]
thanks for all the help
this is a great trick! love your blog!
i've also found out that we can apply this method to the Post Titles as well! ;]
good work, clicked on ads
my blog is http://www.softtips.blogspot.com ,Is it possible for me to change my post width area?thanx ur post is awesom
4141siva,
read this post:
Change the width of your Blog
:]
Many thanks for a great resource! I was wondering if you could help me. I've made my post section quite large (main wrapper is 800 pixels wide) to accommodate posting of larger photographs. If I include accompanying text it's kind of annoying to read because it goes all... the.... way... across... the... page, well, at least for those 800 pixels. So, and you can probably see this question coming now, is there a way to keep my post (main wrapper) at 800 pixels so my photos can post big, but then to make the text inside my posts have much tighter margins? Maybe 400 pixels? Or how about columns? Could I make my text two 380 pixel columns with a 40 pixel margin? I know this is a lot -- just throwing it out there. Thanks!
Steve,
..yes. It's possible. Now, I'll just give you the idea, you'll have to do the hard work...
Use the 'div' elements inside the Post Compose box.
You will make two 'div containers', define their styles, set one to float left, the other right, give them some fixed width....
And while compose the post, just wrap the text in the specific 'div'....
You can find great tutorials online...Try it, if you'll have problems, come back here...
:]
I want each of my widgets to have a different colored border. Can you tell me how? I have the images already
I agree with everyone, your tutorial not only original but also chic!:) The same like your blog's template here.
Thanks. It is just what I'm looking for...
You did it again pocket!!!!!
hey thanks a lot.... but i was just wondering if we could make the background translucent..
HELP!!
anuppie,
yes. add this part of the code:
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter:alpha(opacity=70);
-moz-opacity: 0.7;
opacity: 0.7;
-khtml-opacity: 0.7;
...under this:
.post {
Just be careful to keep the code in line (here, in comments, it's broken because the box is too small...)
Smile!
Thank U very much, it was really useful.
how do i make a the picture without the white square border. I just want the pic alone. How do I do it? Will appreciate your reply. Thanks
kel,
it's a bit complicated to explain rounded corners for Blog Posts here.
I'll write some instructions. When I catch some time...And the time is quite fast.
Smile!
I can't figure out why my images will not post. The text is posting but the image will not load. I have other images loaded in other areas of my blog but the post section won't accept the url code. Any suggestions? My blog is
unveiled4hisglory.blogspot.com. It is one of three that I have.
thanks!!....it is so great...thx for helping..
Thanks For The Post..i Really Like It
A Nice Info!!
Keep going
Have A Nice Day.
how to have its side rounded???
thanks,great info
Do you like MBT shoes online MBT chapa buy it MBT chapa shoes with MBT lami free MBT lami shoes shipping MBT kaya over MBT kaya shoes us,we MBT M.Walk sell MBT m walk shoes on line mbt men shoes for mbt women shoes and vibram five fingers sale vibram five fingers sale is our discount vibram five fingers best cheap vibram five fingers choice cheap MBT chapa shoes thank cheap MBT lami to cheap MBT lami shoes see cheap MBT kaya it cheap MBT kaya shoes you can cheap MBT M.Walk go cheap MBT m walk shoes by cheap mbt men shoes click cheap mbt women shoes
Say it...