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.
URL address:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI0aDjUlOZ2skHi6HLt0RHSycG__EwctZYtYlpw_YG16JVx03c0OL3ms3Z7sTyrfP0_LUnCH_pSdpLgz5fiOp2SwYJaN2NUlhRE5_Zr2mMFg-7WH7HRP07B1nUZaUnKtelZlDKzpHd5BQ/s400/ribbon.gif
URL address:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSZRP0FhOzfJGeIsFiw4srVg4sNKIrA_gXAKmWdsBqIj1vwkViwrGaC_2QXCFA9PiNT08IS9K0R8hlWJy5sRmoNpe2zL-XbByjau3HtAj14D7UQinnN7GNv8YEnxB7XPltHVctovuNCAI/s400/bar1.gif
URL address:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgma7eiOnVGu4eqGeUmHP3hHemZpNcfbTGA9IeN-Sjc0PtgFDfcaPT3_NT8VWvCTSzovfXo7aQ9mIeGClPB4Vc6PA4f-464r9_3e-ZlCaA_1hTKYpJBiVhfHYEyeVwNtA-zxTD4xTrv658/s400/barbsmpl.jpg
URL address:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6S3jXVwekBhZNoES2bz6C7rcYs4bfMYIfIP53HwPRY-la4yZVv0fw2hYS9u1U4tMUu2fDtBcg5LvTWWJMIhN45ZBtK5-vnnJDNejI27zurr1E9wUMt06hnwQXoEvc6Rgu7tcQr4IvyQ8/s400/bar47.gif
How to Add a Divider Between Posts in Blogger
- Login to Blogger if not already logged in
- From the Dashboard navigate to Layout > Edit HTML
- Back up your Blogger template as a precaution by downloading it to your computer
- 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;
} - 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/AVvXsEhI0aDjUlOZ2skHi6HLt0RHSycG__EwctZYtYlpw_YG16JVx03c0OL3ms3Z7sTyrfP0_LUnCH_pSdpLgz5fiOp2SwYJaN2NUlhRE5_Zr2mMFg-7WH7HRP07B1nUZaUnKtelZlDKzpHd5BQ/s400/ribbon.gif);
background-repeat: no-repeat;
background-position: bottom center;
margin:.5em 0 1.5em;
padding-bottom:1.5em; - If any lines are duplicated remove them.
- Remove any line beginning with: border-bottom: eg
border-bottom:1px dotted $bordercolor;
- 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/AVvXsEhI0aDjUlOZ2skHi6HLt0RHSycG__EwctZYtYlpw_YG16JVx03c0OL3ms3Z7sTyrfP0_LUnCH_pSdpLgz5fiOp2SwYJaN2NUlhRE5_Zr2mMFg-7WH7HRP07B1nUZaUnKtelZlDKzpHd5BQ/s400/ribbon.gif);
background-repeat: no-repeat;
background-position: bottom center;
margin:.5em 0 1.5em;
padding-bottom:1.5em;
} - Click on Save Template to save your changes
- 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;
Thats all...Enjoy