Friday, January 20, 2012

How to Access Old Style Templates in Blogger (Blogspot)

"Can I still use the old default templates for my Blogger blog (Blogspot blog)?" is a frequent question I am asked on Twitter Sized Stories pretty often. Other people have asked me about the template I am using and how to get it. In answer to the first question as you can see older style templates do work on Blogger. And with respect to the second question the template I am using on Twitter Sized Stories is an enhanced version of the Rounders 3 Blogger template which is one of the older style default Blogger templates available from 2006 onwards.

In today's Blogger tutorial I am going to show you how to access the older style default Blogger templates (Blogspot templates) and activate them on your Blogger blog. This tutorial is mostly written for those new to Blogger who might not realise that there are a number of default Blogger layouts released in 2006 that are still perfectly usuable. Also there may be some of you who would like to revert back to an older style Blogger template but are not sure how to find the old templates on Blogger.

A Word of Warning First
At the outset I need to say that by applying an older style Blogger template to an existing blog you may lose some of the advanced design and layout features in the Blogger Template Designer. This may not be a drawback if you are happy to do a bit of tweaking and may actually be a far better alternative than downloading a free custom Blogger template that may have a host of compatibility problems with Blogger especially if it was released a while ago. There are some pretty good free custom Blogger templates out there and there are some which were thrown together and have all sorts of problems which are not easily solvable unless you know how to code in CSS.

So please be warned that you may potentially lose some features in converting to an older Blogger template. For instance if you are using the Simple default Blogger template and already have a three column layout selected with a 2 or 3 column footer then you will find that Blogger will revert to a two column layout and place all your widgets in the sidebar if you select an older style template. You will then need to manually add the footer and the extra sidebar. See my tutorials on how to add a 3 or 4 column footer to Blogger and how to manually add an extra column to Blogger for help with this.

I suggest before you start that you download a full back up of your template and that you upload this to a test blog to see how it looks rather than trying it out on a live blog. However if you decide go ahead and later change your mind and want to revert back to the one of the newer Blogger templates you will need to manually shift your widgets out of the sidebar using the drag and drop feature in Page Elements

How to Access Older Style Blogger (Blogspot) Templates

Note: These instructions assume you are using the updated Blogger interface. If you are using the old Blogger interface (you will have a message at the top of your blog "Try the updated Blogger interface") then start at step 3.

  1. From Overview in the updated Blogger interface click on the wheel icon at the top right which will give you an array of Blogger options
  2. Select the Older Blogger Interface from the drop down menu

    Select Old Blogger Interface from Drop Down Menu in Blogger overview
  3. The older style Blogger Dashboard will now be visible and displaying a list of blogs if you have more than one otherwise just the one. Click on Design from the list of links under the blog title you wish to apply the older Blogger template to.

    Select Design in the Old Blogger interface
  4. Click on the Edit HTML link located under the Blogger tabs menu

    Select Edit HTML in Blogger
  5. Once on the Edit HTML page scroll to the bottom of the page and on the left you will see a heading entitled Old Templates. Click on the Select Layout Templates from the list. Avoid the Classic templates as these date from Blogger's first inception and are really too old to be of use.

    Select old template layout from Blogger edit HTML page
  6. You will now be on the older style Blogger templates page and can scroll through and select a template. Use the preview link to see how your blog looks with one of the older style templates applied. I use the Rounders 3 for Twitter Sized Stories by the way although I have adapted it to a 3 column layout.

    Select default Blogger template from the menu
  7. Once you are sure you want to change over to an older style template click on the save button to apply the older style default Blogger template to your Blogspot blog.
  8. Click on View Blog at the right of the menus tabs to view your changes and navigate around your blog.

Today I have shown you how to change your Blogger blog over to one of the older style Blogger templates. Remember that in doing so you may sacrifice some of the advanced layout and design features available in Template Designer but it will give you the option of more template options and a time-saving alternative to having to download and try out heaps of free custom Blogger templates available on the internet only to find they don't work properly. And remember that even with free custom Blogger templates most do not work with Blogger Template Designer. Having to manually add a footer or an extra column to your Blogger blog are really minor changes if everything else is working fine.

Related Articles
List of Twitter Sized Stories Tutorials for Blogger Blogs

Monday, February 14, 2011

How to Fix Missing Quick Edit Pencil in Blogger Blogspot

Is your custom Blogger template missing its quick edit pencil at the bottom of your Blogger posts (Blogspot posts)? Don't worry. In this Blogger tutorial I discuss how to show a quick edit pencil icon beneath Blogger posts if it is missing. This is a common Blogger problem among custom Blogger templates but fortunately it only takes a couple of minutes to fix.

This Blogger tutorial follows on from my previous Blogspot tutorial about fixing missing Blogger icons. Check out how to show quick edit gadget wrench in Blogger (Blogspot) for help with this issue.

In my previous Blogger tutorials I have also discussed how to fix many other common Blogger problems eg how to fix a missing embedded comment form in Blogger. Take a look at all my Blogger tutorials on how to fix common Blogger problems (Blogspot problems) here

Fix Missing Quick Edit Pencil Blogger Blogspot
The quick edit pencil is a nice Blogger feature that you would not want to be without. A click on this time saving Blogger icon gives you direct access to your Blogger posts without having to go through "Edit Posts"

So if the free custom Blogger template you downloaded from the internet has no quick edit pencil displaying under your Blogger posts when viewing the actual published post then it can be fixed by taking the following the steps below:

  1. Login to Blogger
  2. Go to your Design > Page Elements
  3. Click on the Blog Posts edit button located in the bottom right hand corner of the widget

  4. A Configure Blog Posts window will pop up displaying a number of different features that can be turned on and off on your blog posts.
  5. Make sure that Show Quick Edit is checked. Tick the box and save if Show Quick Edit is not already checked


  6. Now navigate to an actual published post and check whether the quick edit pencil is now displaying in or around the footer of your blog post. Remember that you must be logged into Blogger to see the quick edit pencil - it is not displayed to your visitors

    If the pencil is there then that is the end of this Blogger tutorial. The pencil just needed to be enabled. So thank you for joining me today and if you have any other issues with Blogger be sure to check out my how to fix common problems in Blogger tutorials or take a look at the list of all the Twitter Sized Stories Blogger tutorials

    If the Blogger quick edit pencil is still missing it means that some important code has been omitted from your Blogger template and it will need to be added to get the quick edit pencil to show up
  7. Go to Design > Edit HTML
  8. Back up your template
  9. Check the Expand Widget Templates box by placing a tick in it
  10. Find the following line of code by holding down the CTRL key and F at the same time:

    <b:includable id='postQuickEdit' var='post'>

  11. Check whether the following code is under it:

    <span class='post-icons'>
    <!-- email post links -->
    <b:if cond='data:post.emailPostUrl'>
    <span class='item-action'>
    <a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
    <img alt='' class='icon-action' height='13' src='http://img1.blogblog.com/img/icon18_email.gif' width='18'/>
    </a>
    </span>
    </b:if>

    <!-- quickedit pencil -->
    <b:include data='post' name='postQuickEdit'/>
    </span> </div>
  12. If part or all of the code is missing copy and paste it above :

    <!-- quickedit pencil -->
    <b:include data='post' name='postQuickEdit'/>

  13. Save changes to your Blogger template
  14. Go to an individual published post page and see your new quick edit pencil displayed under your Blogger post


Tips and Troubleshooting
If you want to change the Blogger quick pencil icon you can by changing the image. Simply replace the image as depicted in red with the URL address of your own image. If your image is a different size you may have to change the width and height as shown in blue for the image to display correctly

<span class='post-icons'>
<!-- email post links -->
<b:if cond='data:post.emailPostUrl'>
<span class='item-action'>
<a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
<img alt='' class='icon-action' height='13' src='http://img1.blogblog.com/img/icon18_email.gif' width='18'/>
</a>
</span>
</b:if>

<!-- quickedit pencil -->
<b:include data='post' name='postQuickEdit'/>
</span> </div>



In this Blogger tutorial (Blogspot tutorial) I have shown you how to fix a missing Blogger quick edit pencil that is not showing. I have demonstrated how to enable the quick edit pencil in Blogger via Page Elements and I have provided you with the missing code in the event that the quick edit pencil code is missing from your custom Blogger template.

Please let me know if this tutorial has been useful for you by leaving your comments and opinions below.

Related Articles
List of Twitter Sized Stories Tutorials for Blogger Blogs
How to Show a Quick Edit Gadget Wrench in Blogger (Blogspot)
How to Fix a Missing Embedded Comment Form in Blogger
How to Fix Common Problems in Blogger

Saturday, February 12, 2011

How to Add Missing Quick Edit Wrench to Blogger

In this Blogger tutorial (Blogspot tutorial) I show you how to add a quick edit wrench to Blogger if it is missing from a Blogger gadget. Check here to find a solution for a missing quick edit pencil not showing in Blogger

The quick edit feature allows you to edit a Blogger gadget directly from the blog itself rather than having to go through the Design > Page Elements screens and then finding the actual widget itself before you can edit it.

Heaps of times I have downloaded custom Blogger templates only to find that there are lots of omissions compared to a default Blogger template. If you are using a custom Blogger template with the quick edit feature missing here is a step by step guide to insert the missing quick edit feature into your Blogger template

The quick edit can be missing from anywhere in your Blogger template. I have chosen to use the sidebar for this tutorial but the solution works wherever the quick edit feature has been removed or never inserted in the first place.

Tutorial Difficulty rating: Easy
Time: Less than 5 minutes
Suitable for all levels of Blogger expertise

How to Add the Quick Edit Wrench to a Blogger Gadget

  1. Login to Blogger

  2. Go to Design > Edit HTML

  3. Check the Expand Widget Templates box

  4. Using CTRL + F buttons together bring up the search box

  5. Enter the following search term

    </b:includable>


  6. Scroll through your Blogger template. You will see that every instance of </b:includable> is highlighted in yellow.

  7. Once you come to the sidebar widgets which is the most likely place for the quick edit to be missing from look for something like the following (this will vary from template to template). This is the start of the first sidebar if you had a template with a two column sidebar

    <b:section class='sidebar' id='sidebar1' preferred='yes'>

  8. Now look at the picture below. You can see that this is the code for a Javascript/HTML widget as shown in red



  9. Just identify the widget that has the missing quick edit feature and add the following line of code immediately before the </b:includable>

    <b:include name='quickedit'/>




  10. Use the Preview button to check your changes before committing to them

  11. Don't forget to click on Save Template

In this Blogger tutorial (Blogspot tutorial) you have learned how to fix a missing quick edit button often missing from custom Blogger templates. No matter where the quick edit button has been omitted (sidebar, footer, header etc) it can be added in to a Blogger template very easily so that a Blogger gadget can be edited without having to go through the Blogger design screen.


Related Articles
List of Twitter Sized Stories Tutorials for Blogger Blogs
How to Fix the Quick Edit Pencil when it is not Showing Up in Blogger Blogspot
How to Fix a Missing Embedded Comment Form in Blogger
How to Fix Common Problems in Blogger

Monday, January 24, 2011

How to Add Borders to a Blogger Footer Blogspot

In this Blogger tutorial I expand on my previous article about how to add a 3-4 column footer to Blogger by showing you how add border styling to the new footer. You will learn how to add a border around all of your footer columns or around only part of the footer columns. You will also learn how to add different border styles and border colors to customize your 3-4 column footer.

If you have just landed here and need instructions on how to add a 3 or 4 column footer to your Blogger blog then please refer to how to add a 3 or 4 column footer to a Blogger template (Blogspot template)

This is a walkthrough designed to assist bloggers with no experience of CSS styling who want to enhance their Blogger template with borders and other CSS styling. By following these examples you will gain the knowledge you need to make many types of custom changes to the borders of your new Blogger footer. For help with changing the background of your blogger footer please see my article How to Change the Background a Blogger Footer.

How to Add Borders to the Footer of a Blogger Template
To add lines (commonly known as borders) to a Blogger template footer we need to add some CSS styling.

Before beginning to add borders there are 3 values to consider:

  • width of the border (line thickness eg 1px, 2px, 3px and so on)
  • line style of the border (solid, dotted, dashed, double)
  • color of the border (hex color)

  1. How to Add a Border Around the Outside of a Blogger Footer
    First we add the border property and then add the border style, border width and the border color values. In these following examples just by changing these values we can achieve lots of different results.

    • To Add a Dashed Border Around the Outside of a Blogger Footer
      With the following code a dashed black line 1px thick will be added around the outside of the footer.

      #footer-columns {

      margin:0 auto;
      clear:both;
      }

      Change to:

      #footer-columns {
      border: 1px dashed #000000;
      clear:both;
      margin:0 auto;
      }


    • To Add a Dotted Border Around the Outside of a Blogger Footer
      By changing the dashed black line to a dotted border it is simple to get a different line style.

      #footer-columns {
      clear:both;
      margin:0 auto;
      }

      Change to:

      #footer-columns {
      border: 1px dotted #000000;
      clear:both;
      margin:0 auto;
      }


    • To Add a Solid Border (Blue 3px thick) Around the Outside of a Blogger Footer
      To add extra emphasis we can change the line color and its thickness. Here I have made the line blue rather than black and thickened it from 1px to 3px.

      #footer-columns {
      clear:both;
      margin:0 auto;
      }

      Change to:

      #footer-columns {
      border: 3px solid #336699;
      clear:both;
      margin:0 auto;
      }


  2. To Add a Partial Border to a Blogger Footer
    Sometimes we might want to add a border to only one part of the footer area rather than the whole thing. Again we add the border property but we append it with the following values: (top, bottom, left, right) depending on where we want to place the border.

    • To Add a Solid Border to the Top of a Blogger Footer
      #footer-columns {
      clear:both;
      margin:0 auto;
      }

      Change to:

      #footer-columns {
      border-top: 1px solid #000000;
      clear:both;
      margin:0 auto;
      }


    • To Add a Solid Border to the Bottom of a Blogger Footer
      #footer-columns {
      clear:both;
      margin:0 auto;
      }

      Change to:

      #footer-columns {
      border-bottom: 1px solid #000000;
      clear:both;
      margin:0 auto;
      }

    • To Add a Dashed Border to the Top of a Blogger Footer
      #footer-columns {
      clear:both;
      margin:0 auto;
      }

      Change to:

      #footer-columns {
      border-top: 1px dashed #000000;
      clear:both;
      margin:0 auto;
      }

    • To Add a Dotted Border to Both Top and Bottom of a Blogger Footer
      #footer-columns {
      clear:both;
      margin:0 auto;
      }

      Change to:

      #footer-columns {
      border-top: 1px dotted #000000;
      border-bottom: 1px dotted #000000;

      clear:both;
      margin:0 auto;
      }

    • To Add a Dotted Border 4px thick to Both Top and Bottom of a Blogger Footer
      #footer-columns {
      clear:both;
      margin:0 auto;
      }

      Change to:

      #footer-columns {
      border-top: 4px dotted #000000;
      border-bottom: 4px dotted #000000;

      clear:both;
      margin:0 auto;
      }


    • To Add a Blue Solid Border 5px thick to Both Top and Bottom of a Blogger Footer
      #footer-columns {
      clear:both;
      margin:0 auto;
      }

      Change to:

      #footer-columns {
      border-top: 5px solid #336699;
      border-bottom: 5px solid #336699;

      clear:both;
      margin:0 auto;
      }


In this Blogger tutorial (Blogspot tutorial) I have shown you how to make some simple customizations to the borders of a Blogger footer. This tutorial is intended as an extension of my earlier tutorial on adding a three or four column footer to Blogger. However it is also suitable if you are using a custom template and want to enhance the footer styling further. You have learned how to add borders to a Blogger footer and change the position, color, width and styling.

If you want to know more about CSS styling I will be publishing further articles in the future. Look out for my next article in this series How to Add Backgrounds to a Blogger Footer.

Related Articles
List of Twitter Sized Stories Tutorials for Blogger Blogs
How to Add a 3 or 4 Column Footer to a Blogger Template

Sunday, January 23, 2011

How to Add a Table to Blogger Blogspot Post

This Blogger tutorial (Blogspot tutorial) explains how to put a table into a Blogger post. You will learn how to create tables in Blogger ranging from a simple table to a more complex table with alternating colors.

We will start with a basic table and gradually add CSS styling to the table to improve the look and functionality until we have built the table pictured directly below. No knowledge of CSS and HTML is assumed so this Blogger tutorial is suitable for absolute blogging beginners.



A Blogger Table Caption
Table Header Table Header Table Header
Table Cell Table Cell Table Cell
Table Cell Table Cell Table Cell
Table Cell Table Cell Table Cell
Table Cell Table Cell Table Cell

Tables are a useful way to display information particularly tabulated information. Tables are good whenever you want to align information so that it is easy to read and understand. You can add text, hyperlinks and even images to a table which makes them very useful for presenting information.

There is no easy way to add tables in Blogger yet. Even if you are using the new editor you will note that no table button is provided. Fortunately it is easy enough to use a bit of CSS styling to spruce up a table and enter this manually into a Blogger post.

How to Add a Table to Blogger Posts
First you will learn how to add a simple table to Blogger. We are going to start with a table with 3 columns and 4 rows including a header row. Then I will show you step by step how to add different features to the table including how to add extra rows, a background color to the header, a border, a caption, change the size of the table, center align the table and more.



Table Header Table Header Table Header
Table Cell Table Cell Table Cell
Table Cell Table Cell Table Cell
Table Cell Table Cell Table Cell


  1. In Blogger open either a new post or an existing post that you wish to add a table to

  2. Click on the Edit HTML tab on your Blogger editor

  3. Copy the following code into your Blogger post which will produce the basic table as shown above:

    <table border="2" bordercolor="#0033FF" style="background-color:#99FFFF" width="100%" cellpadding="3" cellspacing="3">
    <tr>
    <th>Table Header</th>
    <th>Table Header</th>
    <th>Table Header</th>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr">
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    </table>


  4. Make changes to the table to suit your own Blogger template if necessary by changing the following:

    <table border="2" bordercolor="#0033FF" style="background-color:#99FFFF" width="100%" cellpadding="3" cellspacing="3">

    • Border width (blue)
    • Border color (black)
    • Background color (red)
    • Table width (orange) Can be a percentage or actual width eg 500px

  5. Now we are going to fix an annoying problem in Blogger which renders too much white space above the table. We do this by adding the following styling denoted in red directly above the table tag and adding a closing </div> at the end of the table code

    <style type="text/css">.nobrtable br { display: none }</style>
    <div class="nobrtable">

    <table border="2" bordercolor="#0033FF" style="background-color:#99FFFF" width="100%" cellpadding="3" cellspacing="3">
    <tr>
    <th>Table Header</th>
    <th>Table Header</th>
    <th>Table Header</th>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr">
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    </table></div>

  6. Let's add some further styling to our table header to improve the look of our table as denoted in red. Change the background color and color attributes to suit your own color scheme if you wish



    Table Header Table Header Table Header
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell


    <style type="text/css">.nobrtable br { display: none }</style>
    <div class="nobrtable">
    <table border="2" bordercolor="#0033FF" style="background-color:#99FFFF" width="100%" cellpadding="3" cellspacing="3">
    <tr style="background-color:#0033FF; color:#ffffff; padding-top:5px; padding-bottom:4px;">
    <th>Table Header</th>
    <th>Table Header</th>
    <th>Table Header</th>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    </table>


  7. Now let's add another row to our table for Blogger so you can see how this is done



    Table Header Table Header Table Header
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell


    <style type="text/css">.nobrtable br { display: none }</style>
    <div class="nobrtable">
    <table border="2" bordercolor="#0033FF" style="background-color:#99FFFF" width="100%" cellpadding="3" cellspacing="3">
    <tr style="background-color:#0033FF; color:#ffffff; padding-top:5px; padding-bottom:4px;">
    <th>Table Header</th>
    <th>Table Header</th>
    <th>Table Header</th>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>

    </table>


  8. In this step we are going to center the contents of our Blogger table. This can be done in several ways but we are going to take a short cut here by assigning a style to every table row



    Table Header Table Header Table Header
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell


    <style type="text/css">.nobrtable br { display: none } tr {text-align: center;} </style>
    <div class="nobrtable">
    <table border="2" bordercolor="#0033FF" style="background-color:#99FFFF" width="100%" cellpadding="3" cellspacing="3">
    <tr style="background-color:#0033FF; color:#ffffff; padding-top:5px; padding-bottom:4px;">

  9. Now we are going to jazz up our Blogger table by adding alternating colored rows to improve readibility and appearance. By far the easiest way to do this is to assign a class.



    Table Header Table Header Table Header
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell


    <style type="text/css">.nobrtable br { display: none } tr {text-align: center;} tr.alt td {background-color: #eeeecc; color: black;}</style>
    <div class="nobrtable">
    <table border="2" bordercolor="#0033FF" style="background-color:#99FFFF" width="100%" cellpadding="3" cellspacing="3">
    <tr style="background-color:#0033FF; color:#ffffff; padding-top:5px; padding-bottom:4px;">
    <th>Table Header</th>
    <th>Table Header</th>
    <th>Table Header</th>
    </tr>
    <tr class="alt">
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr class="alt">
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    </table>


  10. It is also easy to add a caption to your Blogger table. For a caption above the table simply add the caption line as shown in red. For a caption below the table add the caption line in red and a style as shown in blue



    A Blogger Table Caption
    Table Header Table Header Table Header
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell


    <style type="text/css">.nobrtable br { display: none } tr {text-align: center;} tr.alt td {background-color: #eeeecc; color: black;} tr {text-align: center;} caption {caption-side:bottom;} </style>
    <div class="nobrtable">
    <table border="2" bordercolor="#0033FF" style="background-color:#99FFFF" width="100%" cellpadding="3" cellspacing="3">
    <caption>A Blogger Table Caption</caption>
    <tr style="background-color:#0033FF; color:#ffffff; padding-top:5px; padding-bottom:4px;">
    <th>Table Header</th>
    <th>Table Header</th>
    <th>Table Header</th>
    </tr>
    <tr class="alt">
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr class="alt">
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    </table>


  11. One more important property needs to be addressed in our new Blogger table to improve the look. We can reduce the double border into a single one. The easiest way to do this is to change the cellspacing to zero as denoted in red. Or, alternatively we can apply the border collapse property to our table as shown in blue. Note: Border collapse may not be supported by all browsers particularly if the cellspacing attribute is defined also)





    A Blogger Table Caption
    Table Header Table Header Table Header
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell
    Table Cell Table Cell Table Cell


    <style type="text/css">.nobrtable br { display: none } tr {text-align: center;} tr.alt td {background-color: #eeeecc; color: black;} tr {text-align: center;} caption {caption-side:bottom;}</style>
    <div class="nobrtable">
    <table border="2" bordercolor="#0033FF" style="background-color:#99FFFF; border-collapse:collapse;" width="100%" cellpadding="10" cellspacing="0">
    <caption>A Blogger Table Caption</caption>
    <tr style="background-color:#0033FF; color:#ffffff; padding-top:5px; padding-bottom:4px;">
    <th>Table Header</th>
    <th>Table Header</th>
    <th>Table Header</th>
    </tr>
    <tr class="alt">
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr>
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    <tr class="alt">
    <td>Table Cell</td>
    <td>Table Cell</td>
    <td>Table Cell</td>
    </tr>
    </table>


  12. Now go ahead and add your data to your new Blogger table. Filling in each instance of "Table Header" and "Table Cell" with your own data. The information you add to the Blogger table can be text, hyperlinks or even an image

  13. Save your changes to the Blogger table by saving and publishing your post

Please feel free to use this Blogger table as a template whenever you need to add a table to your Blogspot post. If you want to regularly add a table to your Blogger posts that consistently looks the same you could consider adding the table CSS styling to your Blogger template.

In this Blogger tutorial (Blogspot tutorial) I have demonstrated how to build a complex table in HTML and CSS to insert into a Blogger post. You have learned how to manipulate a variety of table properties and attributes to create a table for Blogger that matches the color scheme of your blog and is functional and appealing.

Related Articles
List of Twitter Sized Stories Tutorials for Blogger Blogs
How to Change the Bullet Point Style in Blogger (Blogspot)
How to Remove Image Border in Blogger Template Simple
How to Change or Delete Image Borders in Blogger Posts
How to Add CSS Styling to Blockquotes in Blogger
How to Add, Delete or Remove Blogger Image Borders
How to Align and Justify Posts in Blogger
How to Add a Divider Between Blogger Posts
How to Add or Change a Background Image in a Blogger Template

Tuesday, December 28, 2010

Add a Comments Counter Button to Blogger Blogspot

In this Blogger tutorial (Blogspot tutorial) you will learn how to add a comments counter button to Blogger (Blogspot) to show off the number of comments each of your posts has received.

A comment counter button (bubble) will have the effect of encouraging visitors to comment on your Blogger blog and also help to highlight the credibility of your articles.


Installing this Blogger hack to add a comment counter button only takes a few minutes. The changes needed to add the comment bubble to Blogger while not difficult do involve adding a small snippet of code to your Blogger template in two places. For this reason I strongly urge you to back up your Blogger template before attempting this blogger hack.

Blogger Tutorial Difficulty - easy to medium


How to Add a Comments Counter Bubble to Blogger
A Step-by-Step Walkthrough
The following steps will insert a fully clickable comments counter button on the same line as the post title in Blogger. The comments counter is right aligned by default.

  1. Log in to Blogger and the blog you wish to apply these changes to

  2. Select Design > Edit HTML

  3. Click on Download Full Template to back up your template before you make any changes

  4. Check the Expand Widget Templates box

  5. In the CSS Styling section of your Blogger template and just before the ]]></b:skin>

    .comments-button {
    width : 48px;
    height : 48px;
    background : url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjie7sEH2hZmlB9ms7lx_nEbUhYV7SvVDnEuLPDKq3yUCeaTb39QxYODLSfNNJYBfBDWFRBKm8ushaE-62GjjMIrwwNdjKPrIGw7E6UFv9kZ6Mum7MKo-Xv3EjQiGdlUIwH2p13N9zy-xW1/s200/comment-counter-bubble.png) no-repeat;
    float : right;
    font-size : 18px;
    margin-top : -15px;
    margin-right : 2px;
    text-align : center;
    padding-top:10px;
    }

  6. Now find the following block of code using CTRL key + F

    <b:includable id='post' var='post'>
    <div class='post hentry uncustomized-post-template'>
    <a expr:name='data:post.id'/>
    <b:if cond='data:post.title'>
    <h3 class='post-title entry-title'>
    <b:if cond='data:post.link'>
    <a expr:href='data:post.link'><data:post.title/></a>

  7. Copy this code block:

    <b:if cond='data:post.allowComments'>
    <a class='comments-button' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:post.numComments/></a>
    </b:if>

  8. Insert as follows:

    <b:includable id='post' var='post'>
    <div class='post hentry uncustomized-post-template'>
    <a expr:name='data:post.id'/>
    <b:if cond='data:post.title'>
    <h3 class='post-title entry-title'>
    <b:if cond='data:post.allowComments'>
    <a class='comments-button' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:post.numComments/></a>
    </b:if>

    <b:if cond='data:post.link'>
    <a expr:href='data:post.link'><data:post.title/></a>

  9. Save template and then view blog to admire your new comment counter badge.


Tips and Troubleshooting
  1. If you prefer you can replace the button image I have provided with your own image. You can find other buttons easily enough by doing a Google search with a term like "speech button icons".

    Upload your button to a hosting service such as Photobucket and change the URL address of the image in the CSS styling section. The following example will render a smaller blue button. Note I have reduced the font size to accommodate the change. You may need to play around with the settings to get the font sizing right for your image.

    .comments-button {
    width : 48px;
    height : 48px;
    background : url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS6p_gfaNXhKRXKhpHZ0DzuEn-LPhqPkAD429-f2OV0fGzz2_qAvgfqlqHkD76k3UInQE82rLFYWb3GAZXVez2QEwIt_orAzxxKItd6quE5a35fjU30pCewO_DlY8JNMUre673LxIeh_P6/s200/comment-counter-bubble-2.png) no-repeat;
    float : right;
    font-size : 14px;
    margin-top : -15px;
    margin-right : 2px;
    text-align : center;
    padding-top:10px;
    }


  2. If you want your comment counter to be left aligned instead of right you will need to change the CSS styling from float:right; to float:left;

In today's Blogger tutorial I have covered how to add a comments counter to a Blogger blog (blogspot blog) that will appear to the right of your blog post title. A comments counter is a way to encourage visitors to comment and is a way of showing off the credibility of your blog posts. Good luck! Any comments about installing this blogger hack are most welcome.


Related Articles
List of Twitter Sized Stories Tutorials for Blogger Blogs
Tips to Add Digg Button to Blogger Blogspot
Add Twitter Followers Counter to Blogger
Add Twitter Badge or Button to Blogger
Add a Social Bookmarking Button to Blogger
Add Social Bookmark Buttons to Blogger

Monday, December 27, 2010

How to Change Bullet Point Style in Blogger (Blogspot) Lists

In Part 1 of this three part series of Blogger tutorials I discuss how to change bullet point styles of lists you may want to include in Blogger posts. This first Blogger tutorial deals with unordered lists and how these can be styled using CSS in Blogger (Blogspot). The second part of these tutorials will deal with ordered lists while part 3 discusses bullet point changes you can make to your sidebar, footer and menus.

Today you will learn how to:
  • change the style of bullet points in unordered lists
  • add bullet points to unordered lists if they are absent
  • add an image instead of a bullet to lists in your Blogger posts

This tutorial is rated easy and is designed so that even Blogger newbies can make the changes they want to their Blogger template. Changing the bullet point style involves changing the CSS styling in your Blogger template (Blogspot template). Join me as I walk you through this step by step guide.

How to Add Bullet Points to a Blogger Post
If you are still using the old Blogger editor you will need to add bullet points manually to any unordered lists you create in Blogger posts. If you are using the new editor the work is done for you. Either way though this is the type of code that generates unordered lists:
<ul><li>Create your own list markers in Blogger</li>
<li>Create unordered lists in Blogger</li>
<li>Create bullet points in Blogger</li>
</ul>

Any text can be placed between the two <li></li> tags. Simply copy this list into a Blogger post and substitute your text for mine and you will have an unordered list.

Circular Bullet Points
Circular bullets (also known as markers or discs) are displayed in Blogger by default whenever unordered lists appear. This means that whenever the <ul></ul> tags are used in Blogger posts a leader dot or disc will appear before each line of text denoted by <li>. (Note I will discuss ordered lists <ol></ol> tags in part two of this tutorial).

An unordered list in a Blogger post using the <ul></ul> tags would appear like this:
  • Change Bullet Point Style in Blogger
  • Add Bullets to Blogger
  • Changing the look of unordered lists in Blogger


We can make lots of changes to the look of these filled discs or filled circles by changing the CSS styling in Blogger. For instance we can have squares, or we can choose to have no bullet point at all. Here's how.

To Add Square Bullet Points to Blogger (Blogspot)
The following code will replace the filled circle bullet points with squares instead:

  1. Login to Blogger if not already logged in

  2. From the Dashboard go to Design >Edit HTML

  3. Back up your template

  4. Find the posts section of your CSS stylesheet which will be before ]]></b:skin> tag

  5. For the following default Blogger templates eg "Simple" add the following CSS code to the post section like this

    .post ul li {
    list-style: square;
    }


  6. Save template and view blog post to see the circular bullet points have been replaced by square ones


To Add Circle Bullet Points to Blogger (Blogspot)
To add unfilled circle list markers or bullet points to Blogger posts do the following:

  1. Follow steps 1-4 as per square bullets

  2. Add the following code to the posts section of the CSS stylesheet of your Blogger template by entering the following code:

    .post ul li {
    list-style: circle;
    }


  3. Save the changes to your template and view a blog post to see the empty circle bullet points


How To Indent Bullet Points in Blogger
There are two ways to increase the indentation of list style markers or bullet points.

  1. Using the Inside or Outside Element
    The indentation of bullet points can be varied using the "inside" element. By default the list will be "outside" unless the "inside element" is used. The following code shifts the indentation of the list further to the right.

    .post ul li {
    list-style: circle inside;
    }



  2. Custom Indentation CSS Styling
    It is also possible to add custom indentation styling to lists. For instance here I have added a 2.5em indent using the following code to the circles example:

    .post ul li {
    list-style: circle;
    margin-left: 2.5em;
    }



How To Replace Bullet Points with an Image in Blogger (Blogspot)
Sometimes you may prefer to have an image list marker or icon instead of a bullet point. You will need to host your image somewhere such as a free image hosting service eg Flickr or Photo Bucket. Follow the steps below to replace bullet points in your Blogger posts with an image

  1. Follow steps 1-4 as per square bullets

  2. In the CSS styling of the posts section of your Blogger template and before the </head> insert the following code:

    .post ul li {
    list-style: url("http://URLaddressofImage.gif");
    }


  3. Replace URLaddressofImage with the URL address of the image you have uploaded to an image hosting service. Note in most cases the file will have a .gif extension. If the extension is anything other than .gif you will need to change this too.


  4. Save the changes to your Blogger template and navigate to a post page to see your image list marker installed


How to Remove the Bullet Points from Blogger Posts
If you are going for a minimalist look you may prefer to have no bullet points in the lists in your Blogger posts. In this case:

  1. Follow steps 1-4 as per square bullets

  2. In the CSS styling of the posts section of your Blogger template and before the </head> insert the following code:

    .post ul li {
    list-style: none;
    }




Related Articles
List of Twitter Sized Stories Tutorials for Blogger Blogs
How to Add CSS Styling to Blockquotes in Blogger
How to Add, Delete or Remove Blogger Image Borders
How to Align and Justify Posts in Blogger
How to Add a Divider Between Blogger Posts
How to Add or Change a Background Image in a Blogger Template