Back to Top

[an error occurred while processing the directive]

Sunday, September 27, 2015

How to Add Background Image in Blogger Template

How to Add Background ImageWith this guide, you would be able to add a background image or picture to your Blog, customize the position of your image, and have a static background image that stays in place when you scroll through the contents of your blog.

You will need to create an image. Find a picture you like. If you need a free photo editing tool, you can either search the net for one or use Google's Photo Editing Software Picasa. You can also use a small tile-size image which can be repeated so as to cover the entire page. Try not to have an image file that is too large as your page may take a little longer to load.

After creating a picture, you will need to upload it onto a free picture host. You can read about using free hosts like Google Page Creator and Google Groups. We have also a rather comprehensive list of free Image Hosts and File Hosting Services in our article on Manage Blogger Image Storage Space. Check out those sites and choose one that is fast, reliable and enables hotlinking to the uploaded files. Take note of the picture URL. in Blogger Template

Next, log in to your dashboard layout; under Template -> Edit HTML, scroll to where you see this:-
body {
Change background color of Blogger Template
If you would like to change the background color of your blog to a very unique color, you can manually specify the color value. Search online for color codes, or take a look at the HTML Color Chart to see if you can find your desired color. For example, if you have chosen a color code #B38481, change the above code to this:-
body {
If you are changing the background color of your sidebar only, add the color code under the relevant sidebar heading.
#sidebar-wrapper {
Similarly, if you want a different color for your main post column, add the color code as follows:-
#main-wrapper {
Note that different templates may label their stylesheets differently. The #sidebar-wrapper may be called #side-wrap or something to that effect.

Also Like: How To Make Customized Mobile Responsive Blog Blogger

In some templates like the TicTac Template, the background color you see is due to a background image and inserting a color code into the template will not help. To have a different color, this background image will have to be edited. For more details, read the article on Background Color of TicTac Template.

Add a background image to Blogger Template
The code to insert is this:-
body {
background-image: url(URL address of your image);
Remember to insert the URL address of your image in the brackets. If you would like to have a feel of how a background picture will look like, I have uploaded a test image at this address –

Also Like: Remove "Newer Posts" "Home" and "Older Posts"

Insert the URL of this test image into the above brackets and Preview your blog.

You can also have a background image just for your sidebar. Locate the style and add the background image code accordingly.
#sidebar-wrapper {
background-image: url(URL address of your image);
For a background image to your main post body only, add the code here:-
#main-wrapper {
background-image: url(URL address of your image);
Repeat background image to Blogger Template
By default, the image is repeated to fill up the entire background of the page. If you have a small or tile-sized image, it will appear like a print pattern in the background. Sometimes, you may choose not to have the image repeated. If that is the case, you can insert this code:-
background-repeat: no-repeat;
Alternatively, you may only want the image to be repeated horizontally. The code is this:-
background-repeat: repeat-x;
 To have the image repeated vertically, the code is this:-
background-repeat: repeat-y;
Position background image to Blogger Template
If you have an image that is not repeated, you may like to specify the exact position of this image on your page. The HTML code to be inserted is this:-
background-position: top left;
Your image will appear at the top left corner of your page. The other possible values that you can use to replace “top left” are:-

top center;
top right;
center left;
center center;
center right;
bottom left;
bottom center;
bottom right;

If you do not want it entirely left, right or center, you can also define the horizontal and vertical alignments either in percentage or in pixels. Use either of these values instead, with x being the horizontal value and y being the vertical value.

x% y%;
xpx ypx;

Static background image to Blogger Template

After that, you may specify whether you want your background image to remain in a fixed position when the contents of your blog are scrolled. By default, the picture scrolls with your content. To have it stay put, the code to insert is this:-
background-attachment: fixed;
Putting it all together
The eventual CSS code that you will have for your customized template may look like this:-
body {background-color:#B38481;background-image: url(;background-repeat: no-repeat;background-position: center center;background-attachment: fixed;
You can also combine the attributes into one line and the shorthand code will look like this:-
body {
background:#B38481 url( no-repeat center center fixed;
Of course, after having added the background image, you will need to adjust the colors of your text so that they stand out against the backdrop. Go to Template -> Fonts and Colors to do that.
Get Daily Updates
Subscribe To Get FREE Tutorials!
Get More Secret Guides and Special Offers Direct in Your E-Mail
Posted by Akhilesh Kumar
I am a blog scientist and a professional blogger. we writes on this blog about Tech, Blogging, SEO, Social Networking Site, News, Search Engines Traffic, Make Money Online, Life Hack and Making Life Successful. our blog NagarUntari receives 10k Pageviews per month. I do share on this blog regularly.

Let's Get Connected: Twitter | Facebook | Google Plus


Post a Comment

Comment FAQs

     * All Comments are Moderation.

     * Please Do Not Spam Us.

     * Please Don't Use any Link or HTML Code with Comment.


774 People
6584 People
654 Fans
574 RSS
emailSubscribe to our mailing list to get the updates to your email inbox...
  • Recomended


    • Adsense (6)
    • Big City News (6)
    • Blog Tips (108)
    • Blog Widget (8)
    • Computer Tips (4)
    • download software (2)
    • HTML Tips (1)
    • make money (37)
    • Mobile Tips (20)
    • nagar untari city (12)
    • Other Tips (20)
    • SEO (55)
    • services (4)
    • Social (5)
    • wordpress tips (33)
    Start a Blog

    Start a Blog


    Subscribe for our all latest news and updates
    [an error occurred while processing the directive]