Saturday, September 26, 2009

Add a Twitter Updates Widget to Blogger

If you are a regular Twitter user and have a bunch of followers you might want to add a Twitter Updates widget to Blogger (Blogspot). In today's tutorial I will show you the easy way to add a Twitter Updates widget to Blogger (Blogspot). It is fairly straightforward to add this Twitter Updates widget to Blogger so please don't be put off if you are a Blogger beginner as you can have this widget up and running in no time.

If you are new to Twitter and don't have an account yet you can sign up to Twitter for free


Twitter Updates widget for BloggerHow to Add a Twitter Updates Gadget to Blogger
There are several methods of adding a Twitter Updates widget to Blogger which I will be discussing over the next few posts. Today I will start with the easiest method by far. This Twitter widget won't slow down your blog loading time particularly but I suggest as with all HTML widgets that you place it near the bottom of your column of gadgets and limit the number of updates shown.

This Twitter Updates widget will provide a basic widget only and is fine if you aren't too bothered about styling. The widget uses the styling from your blog based on the Blogger template you are using but unfortunately there is no way to modify its appearance at the moment. If you want something a little more fancy keep an eye out for my future posts about Twitter Updates widgets.

  1. Log in to Blogger if you are not already logged in

  2. Go to Layout > Page Elements

  3. Click Add a Gadget in the Blogger sidebar

  4. Click on More Gadgets to the left and choose the Twitter Updates widget. Blogger may change this so if you don't find it there try looking in Featured or Popular.

  5. Enter your Twitter name (usually your blog name)

  6. Choose the number of updates to display. By default this is set to 5

  7. Uncheck display link to your Twitter page if you do not want visitors to go to your Twitter page for some reason otherwise leave it as is.

  8. Click Update to Preview any changes and then Save

  9. Use Blogger's drag and drop feature to reposition your Twitter gadget in the desired location in sidebar or footer of your Blogger blog. Save any changes

  10. Click View Blog to admire your new Twitter Updates widget

In today's tutorial I have shown you how easy it is to add a Twitter Updates widget to your Blogger blog (Blogspot blog). The Twitter Updates widget will display your latest Twitter tweets on your blog. The disadvantage of this third party Twitter Updates widget is that it has basic styling only and no way to modify it. On the plus side it loads fast and is likely to be trouble free. I will be writing more about Twitter updates widgets in the next couple of posts so keep an eye out. Enjoy!


Related Articles
List of Blog Know How Tutorials for Blogger Blogs
Add Twitter Button or Twitter Badge to Blogger
Add Twitter Followers Counter to Blogger



Saturday, September 19, 2009

Blogger Post Image Borders Change or Remove

Sometimes you may want to remove, delete or change the image border of a custom Blogger template or default Blogger template (Blogspot template). In this Blogger tutorial you will learn how easy it is to make changes to your template so that you can get rid of unwanted image borders around all the images that appear in your blog posts or around a single image in a blog post.

You will also learn how to enhance your Blogger template (Blogspot template) by changing the line color and line style of the existing image borders.

Note this Blogger tutorial applies to custom templates and the previous generation of Blogger templates. If you are using the new default Blogger Template Simple please refer to my Blogger tutorial How to Remove the Image Border in Blogger template Simple for instructions

This Blogspot tutorial is rated easy. It involves making minor alterations to your Blogger template (Blogspot template) but this is well within the capabilities of beginner bloggers and newbies. The changes will take less than 5 minutes to complete and can make the world of difference to your Blogger template.

Blogger image with border Blogger image without border

How to Delete, Remove, Get Rid of the Image Border in Blogger Posts
The following instructions will remove the little border around the images in your Blogger posts.

  1. Login into Blogger if not already logged in

  2. From the Dashboard navigate to your blog. Go to Design > Edit HTML by clicking on the Design tab and then choosing the Edit HTML link

  3. Back up your existing Blogger template by clicking on the Download Full Template button

  4. Find the following code in your Blogger template (no need to check the Expand Widgets Template box as we are only working with the CSS Style Sheet). Note: the code in Blogger templates varies but this is the code you will find on a Blogger Minima template and most other default Blogger templates.


    .post img {
    padding:4px;
    border:1px solid $bordercolor;
    }

    If you do not have this code look for the following:

    img{
    padding: 4px;
    border:1px solid $bordercolor;
    }

  5. There are two ways to get rid of the unwanted border image code. You can either:

    • Remove the following line:

      border:1px solid $bordercolor;
      or

    • Change it to the following
      border:0px;

  6. Click on the Save Template button

  7. Click View Blog to admire your post images minus any image border.

How to Change the Color of the Image Border Around Posts in a Blogger Template
The following instructions will show you how to change the color of the border which appears around images in your Blogger posts

  1. Follow Steps 1 to 4 as per removing the image border from Blogger posts.

  2. There are several methods to change the color of the image border but the easiest is to

    • Change the following line:
      border:1px solid $bordercolor;

      to
      border:1px solid #6698FF;

      The above change will make the border line color sky blue. To change the color (in red) to your own color choice replace with the hex color code for your chosen color

  3. Click the Save Template button to save your changes

  4. Click on View Blog to admire the new color around the images in your Blogger posts

Tips and Troubleshooting

  • To change the image border line style from a solid line to a dotted line change the word solid to dotted eg

    border:1px dotted $bordercolor;

  • To change the image border line style from a solid line to a dashed line change the word solid to dashed eg

    border:1px dashed $bordercolor;

  • To increase the width of the image border change the size from 1px to 2px or 3px eg

    border:3px solid $bordercolor;

  • To Remove The Image Border Around Only One Image paste the following into your image code in your Blogger post:

    style="border:none"
    eg
    <img style="cursor:pointer; cursor:hand;width: 126px; height: 22px;" src="http://3.bp.blogspot.com/_vLeiVavkV_M/SrRp2wb1I_I/AAAAAAAAAAA/XXXXXXXXX/s200/download-now.png" border="0" style="border:none" alt=""id="BLOGGER_PHOTO_ID_XXXXXXXXXXXX" />

In this Blogger tutorial you have learned how to remove, delete and get rid of the line border which appears around images in your Blogger posts (Blogspot posts). You have also learned how to change the line color of the border image to your own chosen hex color. In addition I have shown you how to change the line style from solid to dotted or dashed and to remove the border around a single image. As always any problems with making these changes please let me know. Good luck!


Related Articles
List of Blog Know How Tutorials for Blogger Blogs
How to Remove the Image Border in Blogger Simple Template



Tuesday, September 8, 2009

Add 3 Column or 4 Column Footer to Blogger

In this Blogspot tutorial you will learn how to convert your existing Blogger footer (Blogspot footer) into a 3 column footer or a 4 column footer. With more columns in your Blogger footer you will be have the extra room to accommodate more widgets such as Flickr photos and Twitter updates. Also you will be able to put less frequently used widgets such as recents comments, archives, followers, About Me etc at the bottom of your template so that only the most important widgets are loaded first.

This tweak involves adding code to the footer section of your existing Blogger template to change it to 3 columns or 4 columns. The tutorial is not beyond the capabilities of Blogger newbies and webmasters with intermediate skills but care needs to be taken when modifying your Blogger template so back up before you start. For best results a Blogger template with a width of around 900px is best.

Convert your Blogger footer to a 3 column footer

How to Add a 3 Column Footer to Blogger

  1. Log in to Blogger if not already logged in

  2. Navigate to Layout > Page Elements

  3. Move any existing widgets out of the footer section and place them in the sidebar temporarily and save changes

  4. Navigate to Layout > Edit HTML

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

  6. Find the following section in your Blogger template

    <div id='footer-wrapper'>
    <b:section class='footer' id='footer'/>
    </div>

    If you are having difficulty finding this section trying searching for footer-wrap or something similar as sometimes this section is called something else in some templates.

  7. To Add a 3 Column Footer to Blogger
    Replace all the code located in Step 6 with the following

    <div id='footer-columns'>
    <div id='footer1' style='width: 30%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col1' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer2' style='width: 40%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col2' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer3' style='width: 30%; float: right; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col3' preferred='yes' style='float:right;'/>
    </div>
    <div style='clear:both;'/>
    </div>

    To Add a 3 Column Footer to Blogger with a Lower Footer Section
    Replace all the code located in Step 6 with the following

    <div id='footer-columns'>
    <div id='footer1' style='width: 30%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col1' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer2' style='width: 40%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col2' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer3' style='width: 30%; float: right; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col3' preferred='yes' style='float:right;'/>
    </div>
    <div style='clear:both;'/>
    <p/>
    <div id='footer-bottom' style='text-align: center; padding: 10px;'>
    <b:section class='footer' id='col-bottom' preferred='yes'>
    </b:section>
    </div>
    <div style='clear:both;'/>
    </div>

    Add 3 column footer to Blogger with a lower section
    To Add a 4 Column Footer to Blogger
    Replace all the code located in Step 6 with the following

    <div id='footer-columns'>
    <div id='footer1' style='width: 25%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col1' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer2' style='width: 25%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col2' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer3' style='width: 25%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col3' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer4' style='width: 25%; float: right; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col4' preferred='yes' style='float:right;'/>
    </div>
    <div style='clear:both;'/>
    </div>

    Convert Blogger Footer to a 4 Column Footer

  8. Save changes to your Blogger template.

  9. Navigate to Layout > Page Elements. You will now see a 3 column footer, 3 column footer with a lower section or a 4 column footer depending on what option you chose.

  10. Move the desired gadgets to the new Blogger footer columns. Create new widgets to fill up the footer columns if necessary. Save your changes.

  11. Click View Blog to admire your new footer section

Tips and Troubleshooting

  1. To Add Padding Between Footer Columns in Blogger
    To create some padding between the columns add the following code to the style section of your Blogger template - before </b:skin> tag.

    #footer-columns {
    clear:both;
    }

    .footer-column {
    padding: 10px;
    }

  2. To Add a Border to the 3 or 4 Column Blogger Footer

    • For Top Border Only of the 3 or 4 Column Footer
      Paste the following code before the </b:skin> tag

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

      Replace $bordercolor with a hex color if default color is not displayed. Change this color to suit your template. For example


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

    • For a Box Border Around the 3 or 4 Column Footer

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

      Replace $bordercolor with a hex color if default color is not displayed. Change this color to suit your template. For example

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


In today's Blogger tutorial you have learned how to add a 3 column footer or a 4 column footer to your Blogger template (Blogspot template). You have also learned how to add some styling such as a border above the footer and around the footer. As always I am available to answer questions if you need assistance. Good luck!

Related Articles
List of Blog Know How Tutorials for Blogger Blogs
Customize Blogger Tips