Tuesday, April 24, 2012

How to 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 toLayout > 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/AVvXsEhFyQb5LjDYNrj0wwizjj7u_QSkmrxv5AlOmjuP1aFUOQ434Ywc0j1LxXoZtj7XYFM7xUHrKbd02aYvoeDzoG7Tp9vMp0Mxzk4xCGxyv5zI7PTClkqLtvf139LsszdKFK0fji5b_HTNwRw/s320/background_047.gif


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidlyB6sByQXnQR4a3QM5wj5n84EGdl4nnbXsXYXS9nIHjN7DbDu3gdyEK0DfTbRwffKT30ct4UPmWuuF1u9opuevysO6igOTfMI9OYQFsi8396KVK4a0Ihu69b1ChPOtvKPe8-P2wzbJc/s320/background_104.gif


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX7AI_lf1tmB2aH54tzfdPnWx04JzrxIbX-WRJRrcBhqb0TxYHgIroBPWSBxT-VLkJf9wVOPJRT7HRUcD1H0Y2WgljRjaIEF4CBB06Kbpi4n5bLdyAgSB5lCxU26DUX4kkMiJmQxrMfMQ/s320/background_126.gif


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_sv3SiTsglqdGavaBL4o1u2E0K4yuHIoAi8S7ixqW9vrhfoqNnvTrQDMKlMxTRitBaseQNVjpojuZKn6nFW75TTJtmxVF6C7KnrYk4e08BJezYLevE4b5UJjeP_pu4jLMBFUTsLJylWg/s320/background_073.gif


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSckAuU2WcltBBO4ugK7mvM4kYQaWMq7rwzEAGtnDfov2fvghBg6XdNC-BgIYg44pgi5MQxrzeuzfj0_hDrdRJtgN5wujzosp1Mg0LtRfMgGuTLJSz9exPHhz_5VViBPx8ZcH6YhzKgC4/s320/background_083.gif

    Green Paws Background

    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVtb2R8Qv0dXSitJUUQf2o8U7-DvsJCeT6kKXUuL6njK2SKwytJgyQFVUpZN2VeLqaILNiOWBj3_j3DQJH4lD1LJ2MUmC8NN1WVkdkl8_PKFVwaQ4pLhjDO7eE9P7Gv9v3B_uTepGQ-Hk/s320/green-paws.gif

    Musical Notes Background

    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZNPynIo_FGQWfZLAAfmFfZGnYzK9Vkj80e6oHFXaExvU1btY18xOxzcnx4bjMNnadPKtRsR7gEs4XtEYRBU41KC1JSAbiYkKSe6epywLNAs3FJoOp1TokyAwSFighiUcejSnwz62iiYM/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 PhotobucketFlickr.

    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

No comments:

Post a Comment