How to add background in Blogger / Blogspot

Adding background to blogger or blogspot is easy. Just follow the following steps:

1. You can upload the background file to free host site like http://photobucket.com/ or http://imageshack.us
2. Log in to Blogger
3. Go to Template then Edit HTML
4. Locate the ‘body’ CSS.
5. After the open parenthesis {, click enter to open a new line
6. add the background code like the line below in bold (remember to replace the domain name and directory with yours)

body {
background: url(“http://www.yourdomain.com/yourdir/xxx.jpg”) repeat;
margin:0;
text-align:center;
line-height: 1.5em;
font: x-small Trebuchet MS, Verdana, Arial, Sans-serif;
color:$mainTextColor; font-size/* */:/**/small; font-size: /**/small;
}

7. Save the template and view your blog.

The ‘repeat’ function tells blogger to repeat the background patten horizontally and vertically.

To repeat only horizontally, put ‘repeat-x’ or ‘repeat-y’ for only vertically.

Just recently, I’ve created some free backgrounds for you, click here: free backgrounds

Like this post? Help me spread the word:
To receive this blog's article for FREE in your email inbox, just enter your email address below and click 'Subscribe':

 Enter Email Address:

RELATED POSTS:
3 Column Blogger Templates

How to remove the Navbar from blogger

How to customize Read More in Blogger (Blogspot)


You can leave a response, or trackback from your own site.

15 Comments so far

  1. Chat on December 5th, 2007
    MyAvatars 0.2

    The ‘repeat’ function tells blogger to repeat the background patten horizontally and vertically

  2. MyAvatars 0.2

    [...] 3. Lots of “How-Tos”. People love to learn new or different ways of doing things. (Eg. How to add background in Blogger / Blogspot) [...]

  3. Nae on July 17th, 2009
    MyAvatars 0.2

    AWESOME… it worked perfectly!! :razz:

  4. Eris on July 21st, 2009
    MyAvatars 0.2

    And what If I don’t want to repeat de image? I didn’t put repeat after link, but it repeats the image anyway

  5. Ichi on July 25th, 2009
    MyAvatars 0.2

    still doesnt work for me…

  6. lilu on July 25th, 2009
    MyAvatars 0.2

    it didn’t work for me. please help!

  7. JH on July 26th, 2009
    MyAvatars 0.2

    Ichi and Lilu, please tell me what’s it that doesn’t work?

  8. rachel on August 24th, 2009
    MyAvatars 0.2

    it doesnt work its just a blank thing at the back please help and i will reply!

  9. JH on August 24th, 2009
    MyAvatars 0.2

    HI Rachel, do contact me using the contact form and i will try to see what’s the problem.

  10. Shaz on August 27th, 2009
    MyAvatars 0.2

    i tried it but notin happen only blanks…. :sad:

  11. JH on August 28th, 2009
    MyAvatars 0.2

    HI Shaz, do contact me using the contact form and i will try to see what’s the problem.

  12. rtt on September 13th, 2009
    MyAvatars 0.2

    same problem here… what is my mistake?

    background: $bgColor;
    margin: 0;
    padding: 0px;
    font: x-small Verdana, Arial;
    text-align: center;
    color: $textColor;
    font-size/* */:/**/small;
    font-size: /**/small;
    }
    {
    background: url(http://img5.imagebanana.com/img/s0hj22ey/htc_touch_hd.jpg) repeat;
    margin:0;
    text-align:center;
    line-height: 1.5em;
    font: x-small Trebuchet MS, Verdana, Arial, Sans-serif;
    margin:0;
    padding:0;
    background:#d4d4d4 url(htc_touch_hd.jpg) repeat-x;
    }
    }

  13. Lara on December 19th, 2009
    MyAvatars 0.2

    I am having the same trouble as rtt. Can’t get an image to show up. Thanks!

  14. thea on April 27th, 2010
    MyAvatars 0.2

    i was having issues getting the image to show up until i checked on another tutorial type site and found that the ” marks around the image link are supposed to be ‘ marks instead. try that and see if that helps!

  15. aashish on May 5th, 2010
    MyAvatars 0.2

    really it works .. thanks… :mrgreen:

Leave a reply

 Subscribe In A Reader      Facebook      Twitter

FREE DOWNLOAD!
Receive Bonuses (Worth $300.00) Absolutely FREE!         
   
No Spam. Privacy Guaranteed.