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

Monday, October 26, 2009

Add or Change Background Image of a Blogger Template

In today's Blogger tutorial (Blogspot tutorial) I will show you how to both add a background image to a Blogger template if you don't have one already or change the existing background of your Blogger template.

I have chosen to write this article not because there aren't any how to articles already on the net but because they assume quite a bit of knowledge. I have taken a different tack with this post in that I assume you are an absolute beginner with no knowledge of Blogger templates.

For this reason I have provided some sample backgrounds for you to play around with. By just cutting and pasting these images you can see first hand how dramatically adding a different background to your Blogger template can change it. You will see that replacing your background image with these images isn't that difficult and hopefully it will give the confidence to branch out further and change the background of your Blogger template to suit your own needs. All that is needed is to insert a small snippet of code into the CSS styling section of your Blogger template and hey presto your Blogger template will take on a whole new look.

How to Change the Color of a Blogger Background (Default Templates)
If you are using a default Blogger template then you already have the option to change the background color to your own taste by going to Layout > Fonts and Colors. Some third party custom Blogger templates have this option too but by no means all. For instructions on changing the background color of custom templates see tips and troubleshooting below.

How to Add a Background Image to a Blogger Template

  1. Log in to Blogger if not already logged in

  2. Go to Layout > Edit HTML

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

  4. Find the following line in your Blogger template

    body {

  5. Add the following line directly after this line
    background-image: url(URL address of your image);

    Your block of code will now look like this:

    body {
    background-image: url(URL address of your image);
    (existing code in this block)
    }

  6. Now replace the code in red for the URL address of your image. Choose an image from the selection below to practise with or use your own image. Note if using your own image make sure you read the tips and troubleshooting section below.


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih2q4FuC0S4bPaROk3Si7h4KLEY5rs6E_xbNhyoDFpMJ1pWmYwff3IvRWOWN6si7UGPGtfIx8Bs3PqahnwejIg4nkjP04S7UsWwJDcxijmhEUjjVIVKebrh4w4x108ekrbg1bGi14xPE8/s320/background_047.gif


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt5dmWLoIqPih9KAGsVlSRsBatSw39ncVz48PgUfT1C3r4VI-Sn5UtLG-iC6qULgKNXmlBo2NfdQfFMQtWz6fckxMgGfmG9rRopuprOSDUvH8l2i_KC5NgBExO5eeiCG4efd6hoOeXZMU/s320/background_104.gif


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE2Nb-dBQ6C_Yvs8gzgHv_rRzes7iuBCgRPSSzZIF_DuANKILIu-KAxtYe3hD3IFpjeD76Ei9bb-DeZsb_52-UP6_1MWU3re2zNcNtvNz6a0F-NlZXC4AG76SGNg6WKHNBvHSQg8cRENM/s320/background_126.gif


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAtmAaGXuMZIa5GS2H6yRMwwyEIOb-HBp6Ly4F47c2Cu6S38MBeucJFKriUxfDHKgwrGQhdIBQUjnvnYsqEfB6sDmsDFRXCcckqquJTbFcfNIxPzJMvZFiOzWt96LVZsJ6_ZYp63XD8Ps/s320/background_073.gif


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAs8BOjOaWKV1rHweq29iv7IRHgGrJZoq1ry6_idL9TsOBqf9OpmEAl0fuqJvykpZJPaysc0MuGpXMNYALN5lW1ID_IErn8K6rpWkCz_2IkZ5V-a1nuuBfxvyHmrldrphZBADzymGeV2I/s320/background_083.gif

    Green Paws Background

    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqDRGyc-6Ez-u_XtEiLlYpA4PELBQHO-_5xz7WzTlekmTJs9JVm-whanG5Ci_nO3j3TTkvyQ5iY-n97GEiflV2jUcmRCDUnetPVIQHzAZwkm6_3RZOpzu_SujVAtgzc3DCHD0eDQmHiOk/s320/green-paws.gif

    Musical Notes Background

    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX34iSoCvPabycFw3NAnjDqaq-1cEtcxyDjSln0ueU4BsajdQuZwfg5uMmHU2QRFVeDFrPooZmduIIPGT3oVSFZ0JptYEG1VkT8cvLKu3n4x7htFO7DchM2dqG1pkoKhSsYLXYbbWXKLY/s320/melody.gif

  7. Use the Preview button to see the effect of these different backgrounds on your template. It will help you get an idea of the kind of possibilities out there.

  8. You are welcome to use one of the above Blogger backgrounds as they are all free to use without any restriction. If you decide to use one of these simply click on Save Template and you are in business. Alternatively go ahead and find your own background image on the net and follow the instructions below to insert it into your Blogger template.

Tips and Troubleshooting

  • To Add Your Own Image to a Blogger Template
    There are huge number of backgrounds on the net that are suitable for Blogger. Search under free website backgrounds in your favorite search engine to find these.

    Simply download your preferred background and save to an image service like Photobucket, Flickr.

    Make sure the file format is either a .jpg, .gif or .png and that its size does not exceed 100kbs. As a rule of thumb an image size of around 30kb or less is about right if loading time speed is not to be compromised. Larger images can be resized quickly by using an online resizing service such as Shrink Pictures.

    Follow the instructions above to change the URL to that of your image.

  • To Change the Background Color of Your Custom Blogger Template
    If there is no option to change the background color of your Blogger template in Layout > Fonts and Colors you can still change the color manually.

    1. Follow steps 1 to 4 as above

    2. Find the line beginning with :

      background-color: #

    3. The hex color will be different for each template. We will change the color only

      background-color: #change hex color code to your chosen color;

    4. Replace the existing hex color code with the value of your chosen hex color. List of web safe hex colors. For example insert the following code to change the background color to:

      Denim Blue
      background-color: #336699;

      Black
      background-color: #000000;

      White
      background-color: #ffffff;

    5. Use the Preview button to see the effect of each color before you save it.

    6. Once you are satisfied go ahead and click on Save Template

Today's Blogger tutorial (Blogspot tutorial) aimed at Blogger beginners continues the series on CSS styling for Blogger. You have learned how to add the background image to your Blogger template or change the existing background image. To help you gain confidence in changing the background image I have provided some sample images for you to practise with. Also in this Blogger tutorial you have learned how to change the color of your Blogger background if you prefer a plain solid background color rather than a background image. As always if you strike any problems implementing the tips in this tutorial please let me know.

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
How to Add a Divider Between Blogger Posts

Subscribe to Blog Know How by Email

6 comments:

Anonymous said...

hello... hapi blogging... have a nice day! just visiting here....

The Whizz said...

Thanks for stopping in Hapi. Hapi blogging to you too!

Anonymous said...

hey thanks for nice tips and tricks.
Would you please let me know if we can check when the blog has been created in blogger (blog created date)?

The Whizz said...

Hi Anonymous thank for your feedback on this article. I know of no actual way to check the blog creation date however if you look at the archives you can see when the first post was created (provided of course the archives are displayed in a widget). I am assuming this is not your blog you are asking about but someone elses.

The Whizz said...

Dorla I hope you will try these as it is amazing how much a few simple changes to your blogs background can make :)

yahaya said...

thanks good info

Post a Comment