BlogKnowHow apologies for the technical problems with the site. We are working on it and hope to resolve the issue as soon as possible.

Friday, October 16, 2009

Add a Post Divider Between Blogger Posts

In today's Blogger tutorial I show you how to enhance your Blogger blog (Blogspot blog) by adding a post divider to your Blogger template. Used effectively post dividers can really jazz up your blog and will lend it that individual feel which most of us are hoping to create.

This tweak is very easy and well within the capabilities of any Blogspot blogger. Only a few simple changes to your Blogger template are required and these are in the CSS styling section.

How to add a post divider between posts in Blogger
By way of example I will use a divider that I downloaded from the internet free by searching for free divider graphics. Here are some sample dividers you can use to get started:


URL address:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB0icfjkH1ytPfsOuVta9fGy8ruK8792q5ww3WMLLVAOgY7vW7kj7faHUlnBQLgltgZAaj_ccKhYXwCHEYqJhyphenhyphensEzPSv7jEsQ7bjYx50WUZGs9xIxDV8oOLo3oDBV0QWZn-eL6tSeEvcg/s400/ribbon.gif


URL address:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_hejEcgAo5naB6wW-2gGD4Ex9GtJi1T4PaXHO7GUbhMlHhGxxfPz7pq1aCOJITjf2JVMSF3lC4xXUiumbyiutIrJcqisQ8zzFtFSeqEyIwesa8Mh-aFnE0GayjNfdv64f8mliZ_TYvqw/s400/bar1.gif


URL address:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPVmOE9V0fNx4o70tklaOa8exaVHZ16HeHInLJKY29b1Gpl4H1qHDawqKw_5QPyEcvgGkacySiW4jOWDCtQl6jiGv93GsZ1zchkSGdQMkdKKEpEUJlkWyDJ0Ef1qmRYYlYO394119v2cA/s400/barbsmpl.jpg


URL address:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeYegENYuO7JQ1dH4MZkTmPxbjih_AEOmxG6BEbxhE-0AV5NzVv2HBCZj8ZHsieNQQJAq7MoLw5QzrR6w9J7_4WyB3hOj7VpmsLJlYviqTCWwLnp_9phx7cV599e3TS7H9Eg1L9TB2BGI/s400/bar47.gif


How to Add a Divider Between Posts in Blogger

  1. Login to Blogger if not already logged in

  2. From the Dashboard navigate to Layout > Edit HTML

  3. Back up your Blogger template as a precaution by downloading it to your computer

  4. Find the following line of code in your template:

    .post {

    You are likely to have something like this in your template already:

    .post {
    margin:.5em 0 1.5em;
    border-bottom:1px dotted $bordercolor;
    padding-bottom:1.5em;
    }

  5. Paste the following lines of code to this block making sure you paste them before the closing curly bracket:

    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB0icfjkH1ytPfsOuVta9fGy8ruK8792q5ww3WMLLVAOgY7vW7kj7faHUlnBQLgltgZAaj_ccKhYXwCHEYqJhyphenhyphensEzPSv7jEsQ7bjYx50WUZGs9xIxDV8oOLo3oDBV0QWZn-eL6tSeEvcg/s400/ribbon.gif);
    background-repeat: no-repeat;
    background-position: bottom center;
    margin:.5em 0 1.5em;
    padding-bottom:1.5em;

  6. If any lines are duplicated remove them.

  7. Remove any line beginning with: border-bottom: eg

    border-bottom:1px dotted $bordercolor;

  8. You will now have a block of code which looks like this plus any extra lines from the existing code in this block:

    .post {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB0icfjkH1ytPfsOuVta9fGy8ruK8792q5ww3WMLLVAOgY7vW7kj7faHUlnBQLgltgZAaj_ccKhYXwCHEYqJhyphenhyphensEzPSv7jEsQ7bjYx50WUZGs9xIxDV8oOLo3oDBV0QWZn-eL6tSeEvcg/s400/ribbon.gif);
    background-repeat: no-repeat;
    background-position: bottom center;
    margin:.5em 0 1.5em;
    padding-bottom:1.5em;
    }

  9. Click on Save Template to save your changes

  10. Click on View Blog to see your new post divider between posts

Tips and Troubleshooting
  • To change the divider to one of the above replace the URL address of the image (in red) with the URL address of the new image you want to use.

  • To use your own divider image download to your computer from the internet and then save the image to a photo image service like Photobucket. Replace the divider image URL address (in red) with the URL address of your new image

  • To increase the padding around the divider change the following line of code:

    padding-bottom:1.5em;

    to

    padding-bottom:2.5em;

In today's Blogger tutorial you have learned how to insert a divider between your Blogger posts to enhance the look of your Blogger template (Blogspot template). You can either make your own post divider or download one from the myriad of free website dividers available on the net.

Related Articles
List of Blog Know How Tutorials for Blogger Blogs
How to Add, Delete or Remove Blogger Image Borders
How to Align and Justify Posts in Blogger

Subscribe to Blog Know How by Email

14 comments:

Anonymous said...

thanks, now I use it to my blog
usb wifi

UND said...

this is good if it works...i'll go try it out later

The Whizz said...

The barbed wire divider looks good on your blog usb-wifi.

The Whizz said...

Good luck Und. Any problems yell out

Anonymous said...

Oi. Parabéns por seu excelente blog. Gostaria de lhe convidar para visitar meu blog e conhecer alguma coisa sobre o Brasil e nossa luta contra o comunismo. Abração

The Whizz said...

Hi Clausewitz. Your blog looks interesting but I don't speak Portugese. Keep up the fight!

Unknown said...

Extremely helpful! Thank you!

Anonymous said...

VERY good instructions, even for a technically challenged girl like myself! :)

Unknown said...

Can you tell me why mine is not working?
http://www.dawnsdailydiggs.com/

Anonymous said...

sorry,i cant find it,can u teach me?

The Whizz said...

What template are you using justinazura?

The Whizz said...

Dawn I see you have the divider working on your blog. If you need any further help please ask

utsav said...

nice tutorial

Room Divider NYC said...

I like it., very amazing tutorial and very helpful. Thanks for the information.

Post a Comment