Divider (line) Between Posts in Blogger

October 28, 2008

If you would like to put customized divider between posts, something nice that will separate them, and you don't want a regular line, follow this easy instructions.

First of all, you should make your picture (image) that will be your divider, or find some on the web (that's free to use).
Anyway, you should be careful that width of your divider is smaller than width of your wrapper section (post section), so it does not get cropped.
#main-wrapper {
width: 410px;
float: $startSide;

First, you have to upload your picture (divider) on free web hosting service. When you upload it, you'll have the URL link of picture.
There are lots of free hosting services. My favorites are TinyPic, PhotoBucket...

Now, there are two ways of doing this (do the first one, and if you'll have some problems, then go with number 2):

1.
Ok. Back-up your template folks. And go to:

DASHBOARDLAYOUTEDIT HTML, find the following part of code (use CTRL +F, or Option + F for Mac):
.post {
margin:.5em 0 1.5em;
border-bottom:1px dotted $bordercolor;
padding-bottom:1.5em;
}
....REPLACE the code from above with following:
.post {
background: url(http://i36.tinypic.com/xqid55.jpg);
background-repeat: no-repeat;
background-position: bottom center;
margin:.5em 0 1.5em;
border-bottom:0px dotted $bordercolor;
padding-bottom:3.5em;
}
...your code may be a bit different, important is to find ".post" paragraph...
...replace the part in orange with the URL of your hosted picture (divider)...
...you can increase / decrease the value of "padding-bottom" to make some space between divider and bottom of the post...

There it is. It's not a beauty, but you get the point....

2.

Use this example only in case the upper one is not working for you....
Back-up your template folks. And go to:

DASHBOARDLAYOUTEDIT HTML ► hit EXPAND WIDGET TEMPLATES

CTRL + F (Option +F), then find the following code in code section:
<div class='post-footer-line post-footer-line-3'/>

Then right AFTER than line, insert this part of code:
<center><img height='20' src='URL OF YOUR PICTURE'/></center>

Height = 20 refers to actual height of your picture....so it doesn't get cropped. And you have to replace the part in red with your picture.

Smile!


post signature

Face It! Tell Your Tweets Digg It! Add to Delicious Stumble Upon I Reddit! Mixx it Up! Add to Your Faves

46 comments:

Purple and Paisley said...

it works! thank you!

pocket said...

Great!

Smile!

deb said...

You are Brilliant!!! I'm just learning all this, you just made my life so easy!!
Great directions, easy to follow!
Thank you!! WOOOHOOOO!
hugz
deb

pocket said...

Thanks Deb!
Smile!

Annie said...

Wow, thank you so SO much! I love your tricks/tutorials! So easy to follow!

pocket said...

Thanks Annie...

Sara said...

When I try the first one, my post divider line flickers when I scroll up or down the page. When I use the second method, my post divider has a border around it (the same border my pictures have). How do I get rid of the border around my dividers using the second method?

pocket said...

Change your code, so it will look like this:
<center><img height='20' style='border:0px' src='URL OF YOUR PICTURE'/></center>
► place the URL of your pic, and that's it...remember to adjust the height..
Smile!

Anonymous said...

Thank you, thank you!!!! It worked perfectly. Thanks for replying so quickly too! You are awesome!!!

pocket said...

:]

GamesDatabase said...

tnx you

Stormy said...

Thank you so very much!!! I have spent hours looking for how to do this...the 2nd one worked wonderfully for me. And I am so happy to be rid of that blasted dotted line!!
Thanks,
Stormy

pocket said...

Hey Stormy! You have a cool Blog!
There, I've adjusted the 1st example too, so it will work...you're probably using Internet Explorer...right?

Smile!

Brenda D. Baker said...

Wonderful so much better and flexible than what I was using!!!!

Worked fast and easy you can see it here at
www.theartistgrimoire.com
Thanks so much!! (I add my favorite templates in the credits)

pocket said...

I love your site! And portfolio...If you need anything else (that you can't find in tuts), just ask...
Smile!

Kristi said...

Thanks so much...I just got into blog layouts and could not figure out the divider...so thank you!!

The Claire Marie said...

The first method works great (which I am extremely thankful for) but for some reason my bar dissapears on me unless I run a highlited mouse over it. Then it decides to remain visible, but not until then. Any thoughts on why this is happening to me?
Thanks!

pocket said...

Hey Claire Marie...
I don't know what could be the problem. I'm using Firefox browser, and it looks fine.
Try clearing your browsers cache, or see how it looks like on another computer...You did all right, no worries...
Smile!

Claire Marie said...

Thanks so much for checking it out!

have a great day :D

Heidi said...

Bummer. I get an error code: bX-8dyqz0 every time I try either method. I tried it on my real blog and my dummy blog, and I get the same message. I think it is a problem with blogger, not with your tutorial. Your other fixes have worked for me. Any ideas?

pocket said...

Heidi...

well, you'll have to get used to it. I get this damn error every day. Because I play with templates too much. But here's how I solve this:
Clear cache and other stuff to scare BX away...
:]

Heidi said...

It worked like a charm. Thanks again!

Twin Dreams said...

Thank you! Your tips are awesome and so easy to follow.

brianna said...

thank you! you tutorials are wonderful! One thing I can't figure out is my divider is running into my comments info, is there any way to fix this?

pocket said...

brianna,

...increase the value in this line:

padding-bottom:3.5em;

...change it to, let's say, 5em
...or whatever suits you....
:]

Charles said...

I had to use the second option for the divider since the first gave an error code. My problem is that it gets cropped in Internet Explorer and Opera, but looks good in Firefox 3.

http://ncryptoworkz.blogspot.com

Raine said...
This post has been removed by the author.
Raine said...

what about is my post has scrollbars? bec. it gets inside the scrollbar ang NOT between posts. pls. reply thanks

mdwalls said...

I'm just getting started learning all of this stuff and came across your site. I figured it out but wondered if I could use the divider and not have it tied to my photo border? I have a photo blog and if I border my pics, my divider I created also has it. Thanks so much for your tutorials!

Kayla said...

When I view your blog it is all white, and I am guessing that your font is white, too, because in order to see any of your writing I have to highlight it with my cursor.

Just thought I'd let you know!

P.S I love your site! Such easy-to-follow tutorials!

Jasmine said...

Thank you!!!!

Smile

Kat said...

This is great...Is there a way to reduce the space between the divider and the next posts header?

Paradise Blog Design said...

Hi-
I am having a terrible problem with my post divider. I am using the 1st method which I have never had a problem with before. It keeps blinking. I have tried every valus from 3.5 to 10.5 em and still trouble. I do not have the line you reference for method 2 or I would try that. Any ideas? Thanks a bunch!

Delane said...

How would I change this if I wanted it above the comments, not below?

Susan said...

such a wonderful tutorial worked perfectly. Thanks

Stephanie said...

Wonderful tutorial, I;ve been using it for reference for a few months now! I just changed my layout so that each of my posts are in separate boxes. How do I add the divider in between the post boxes?

Anand Subramanian said...

WOw thats dude look at my blog i have used it!!!

*Eva* said...

thanks! a very good explanation. Even for the ones who don't know english very well.

rosy said...

Thanks for this template... good information. template

Shishir said...

Hi.A valuable information from you.My blog have a black background and when I placed an url image a white background along with the border get inserted and it overlaps the lebels line of my post.How to overcome this.

pocket said...

Shishir,

..you have to save your image as .png, if you have a image with transparent background.

..or adjust the background color with your template.

..or ad some top-margin to the divider code (so it will push down the whole thing away from the labels...)

Smile!

design gal said...

how can i center the little line that says "posted by" and has the date and link to comments?

RainNCandy &amp; Charmaine said...

Neither method works for me. I've looked all over the internet, and none of the divider tutorials work for me. All I see is that small dotted line, no matter what I try. What can I do to get it to work for me? Here is a link to my blog:

http://heavenly-ambrosia.blogspot.com/

Joyce Leow Kein Han said...

hi Pocket, I find that your explanations in ur tutorials is really easy to follow and carry out. My problem faced for this tutorial is I cant find the .post paragraph and post-footer in my blogger template! Im using White Space Template by Brian Gardner. Could you please help me identify the problem?? Does that mean i cant create my divider line between posts anymore?

TT

Clarissa Polati said...

Thank you so much! Very clearly explained!

aiNa_kEsoT said...

it doesnt work.. why?? :(

Say it...

Related Posts with Thumbnails