How to Embed Images as Background

>> Browse templatesMoney tips55 comments

Blogger Template Design: Tutorial 12

If you look at these templates - Lasik, JournallRed, and Minimalizt - you'd notice that the background is not of a plain color, but made from a repeating pattern of an image. This image is called a background image. It can be a single large image that fills up the screen or a small image (say 50 x 50 pixels) that repeats horizontally and/or vertically. The neat thing about using, or embedding, a background image is that you can create any image you like and use it in your blog to make it unique and different from other blogs.

A background image can be placed in any container - either inside the Body container (which fills up the entire screen), inside the Post, Sidebar, Comment, or even on a header container (say, a Comment Header). For example, if you look at the Minimalizt template, you'll see that the Comment Header below the post is a rounded green button - which is an image embedded inside the Comment Header.

You can also use an image to create a shadowy-looking side frame (now quite common in blogs). See the Hazy template to see how it looks. To do this, you create a short background image with a long span that fills the whole width of the template. At the right and left edge of the background image, you create the shadowy pattern (or any other pattern that you want to be the frame), and embed this inside the outer-wrapper container, repeating it vertically.

But, how to embed and how to repeat the image vertically, horizontally, or both in directions?

To Embed Background Image:

Say that you want to use a 100 x 100 pixels image as the background image inside the Sidebar1 container. What you need to do is find the sidebar1 {...} container in CSS Styling and add the following code in red (the other codes are just sample codes):

#sidebar1 {
margin: 0px 10px 15px 10px;
padding: 0 0 0 0;
width: 150px;
background: URL(http://the-url-of-your-image) repeat left top;
text-align: left;

The "background:..." code will embed whatever image at whatever URL you put and repeat the pattern both vertically and horizontally. The location of the starting image will be on the left-most side, and at the top-most position. The general command for embedding a background image is:

background: URL(http://...) repeat-command x-position y-position;

All Repeat Command:
  • no-repeat (the image won't be repeated at all)
  • repeat (repeat horizontally and vertically)
  • repeat-x (only repeats horizontally)
  • repeat-y (only repeats vertically)
All Horizontal (x) Position Command:
  • left (puts the starting image on the left-most side)
  • center (puts the starting image at the center)
  • right (puts the starting image on the right-most side)
All Vertical (y) Position Command:
  • top (puts the starting image on the top-most position)
  • center (puts the starting image at the center)
  • bottom (puts the starting image on the bottom-most position)


Teddy Hariadi July 09, 2007 11:13 pm  

Hi, What happen to your blog template? I saw that all of your template only contain 1 column.

Elque July 10, 2007 5:31 am  

Hi, thanks for informing me. But, I saw that everything is okay, both in Firefox and IE7. All templates have 2 sidebars and 1 main column. Are you using different browsers?

Gourney Detoure© July 14, 2007 5:57 am  


Pardon, but I dont seem to follow, what if you want to put an image/photo as yr complete background, instead of the simple color background provided by blogger?
Of course ones posts will cover the image partly but that would look good esp if you post a drawing to yr background.

Gourney Detoure© July 14, 2007 6:28 am  


It seems to work well, thanks alot, to see go to, its an experimental blog.
All I did was change 'background" (in Body) and nothing else and have an image hosted by someone.
Thanks, very appreciated.

Gourney Detoure© July 14, 2007 6:29 am  

How are you with favicons?

And do yours work with IE7?

Elque July 15, 2007 2:41 pm  

gourney detoure,
I don't know how to use favicons yet, but all my templates have been tested well in IE7.

OnlinePharmacy October 26, 2007 2:03 am  

ozdGF7 Your blog is great. Articles is interesting!

efectos secundarios del viagra October 26, 2007 11:05 am  

fmUOhb Thanks to author.

meridia coupon October 26, 2007 12:18 pm  

Good job!

columbus georgia motels October 26, 2007 12:42 pm  

actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.

name October 27, 2007 12:19 pm  

Hello all!

canyon tour zion October 27, 2007 1:07 pm  

Good job!

dionne warwick tour October 28, 2007 7:48 am  


buy phentermine and online October 29, 2007 11:19 pm  

Please write anything else!

ringtones October 30, 2007 2:33 am  

Hello all!

October 30, 2007 6:24 am  

Nice Article.

levitra review October 31, 2007 11:37 am  

7QBxe1 Good job!

trying to fin October 31, 2007 12:05 pm  

Wonderful blog.

Jennifer June 10, 2008 1:12 pm  

All of those sample sites are gone from Blogger! Could you give a new example please. Your site and templates are v useful, many thanks.

Anonymous October 30, 2008 3:53 pm  

This is one of the best and informative post that i've read so far about designing a blogger theme. Thank you for sharing. Especially for someone is about to start a venture into desiging and creating websites, this give him/her a very good head start.
Thank you once again... Happy Bloggin.

Mai Trâm November 01, 2008 10:58 pm  

All of the links to view the sample templates are dead.

Anonymous May 27, 2009 5:59 am  

TQVM..this tutorial was awesome..

good job

DoeHand June 16, 2009 12:24 pm  

Thanks for you motivations

Lauh September 07, 2009 11:52 am  

I tried lots os text aligns in my post but all of them stay in the left. If I selec some text and, as writing the post, center it, when I post it it always stays on the left.

Plus, I can't add the background image and I don't understand why. Do you think you coul help me?


Stephanie Southard Photography November 19, 2009 6:44 pm  

I can't figure out how to embed a background. I read the tutorial and it sounds very simple but obviously I am doing it wrong! Can someone please help!! The only thing I can think of that I am doing wrong is that I accidentally erased the background code for the sidebar wrapper, so that is blank right now. Could that be my problem?

BubblyAsian November 30, 2009 5:16 am  

I've placed a picture in the content section but it's not big enough. Is there a way I can resize it?

Moon January 26, 2010 4:28 pm  

Hi, I want know how put images in the outer-wrapper like this blog:

thank you

ann April 24, 2010 3:30 am  

hello you provide personal templates ? I have a blog as such which i would like to look much better at my own space.I somehow love all of your templates.Can you do one for me ? If so contact me at

Administrator February 25, 2011 5:12 pm  
This comment has been removed by the author.
Administrator February 25, 2011 5:13 pm

Anonymous November 12, 2011 1:51 am  

Great Tutorial . . thanks

support December 01, 2011 2:12 am  

nice tutorial very informatif but could you more spesfic on your tutoriial
cdi lite

John Akor December 18, 2014 1:26 pm  

Great sir

Zheng junxai5 July 19, 2015 11:07 pm  

2015-07-20 zhengjx
hollister kids clothing
nike blazer low pas cher
air max uk
oakley sunglasses outlet
ray ban outlet
burberry outlet
longchamp le pliage
gucci belt
burberry handbags
ed hardy uk clothing
christian louboutin shoes
coach factory outlet
gucci sito ufficiale
ed hardy outlet
chanel outlet
nike pas cher
prada outlet store
kate spade bags
coach outlet
michael kors uk outlet
kate spade outlet
replica watches for sale
polo ralph lauren uk
jordan shoes uk
michael kors
abercrombie and fitch
cheap air max
fitflops shoes
kate spade
burberry outlet online
true religion
ray ban sunglasses
michael kors watches
michael kors outlet online
air force pas cher
coach outlet online
ralph lauren sale
coach outlet
pandora jewelry sale
tory burch outlet online

mao qiuyun September 24, 2015 12:57 am  

adidas outlet store,
louis vuitton outlet,
ed hardy clothing,
longchamp outlet,
ray ban sunglasses,
oakley sunglasses,
cheap wedding dresses,
true religion jeans,
hermes birkin,
lebron james shoes,
nike air max uk,
beats by dr dre,
michael kors bags,
true religion jeans,
ray ban sunglasses,
nike huarache,
louis vuitton,
cheap mlb jerseys,
michael kors outlet,
swarovski jewelry,
designer handbags,
mulberry outlet,
the north face jackets,
nike roshe,
mcm outlet,

mmjiaxin November 20, 2015 6:02 pm  

abercrombie and fitch
barbour jackets
indianapolis colts
chanel handbags outlet
minnesota vikings
ralph lauren outlet
michael kors outlet sale
ralph lauren outlet
louis vuitton outlet store
rolex watches,rolex,watches for men,watches for women,omega watches,replica watches,rolex watches for sale,rolex replica,rolex watch,cartier watches,rolex submariner,fake rolex,rolex replica watches,replica rolex
michael kors handbags
longchamp handbags
boston celtics
nike outlet store
oakley outlet store
ugg boots
tory burch outlet online
uggs outlet
ugg outlet store
cheap wedding dresses

柯云 December 09, 2015 9:02 pm  

canada goose
oakley store
official coach factory outlet
coach outlet online
michael kors outlet clearance
louis vuitton bags
discount ugg boots
ugg outlet
nike running shoes for men
ugg boots
louis vuitton purses
adidas superstar shoes
michael kors outlet
coach outlet online
christian louboutin shoes
uggs outlet
michael kors outlet online
louis vuitton outlet stores
ugg boots sale
abercrombie fitch
discount jordans
ray ban sunglasses outlet
ugg boots
replica rolex watches
ralph lauren
louis vuitton handbags
gucci outlet
coach outlet online
ralph lauren sale
christian louboutin
cheap ray ban sunglasses
canada goose outlet store
oakley sunglasses wholesale
rolex watches
canada goose sale
michael kors outlet
north face jackets

John May 24, 2016 6:41 am  

ralph lauren uk
cheap air max
lebron james shoes 2016
cheap ray-ban sunglasses
black timberland boots
red bottoms outlet online
oakley sunglasses wholesale
ralph lauren outlet online
toms shoes
hollister clothing store
ray ban sunglasses
air jordans
cheap oakleys outlet
asics shoes
adidas pure boost
nmd adidas
vans outlet
chi flat iron
toms outlet store
bottega veneta
michael kors outlet online
birkenstock shoes
running shoes
rolex watches
ecco shoes
yeezy boost 350 white
hermes uk
coach outlet online
true religion

Fangyaya July 07, 2016 1:51 am  

"longchamp outlet"
"yeezy boost 350"
"supra shoes"
"asics outlet"
"louis vuitton handbags"
"toms shoes"
"air max 90"
"coach outlet online"
"christian louboutin shoes"
"north face outlet"
"tory burch outlet"
"oakley sunglasses wholesale"
"jordan 13"
"adidas uk"
"mont blanc"
"nike uk"
"juicy couture"
"michael kors outlet online"
"michael kors outlet clearance"
"fitflop sandals"
"polo ralph lauren"
"coach outlet canada"
"michael kors canada outlet"
"michael kors handbags"
"louis vuitton outlet"
"nike free run 2"
"cheap oakley sunglasses"
"nike air jordan"
"louis vuitton outlet"
"nike trainers"
"michael kors outlet"
"ghd hair straighteners"
"louis vuitton bags"
"coach outlet online"
"coach factory outlet"
"fitflops sale clearance"
"michael kors outlet clearance"
"jordan 4 toro"
"cheap oakley sunglasses"
"michael kors purses"

Gege Dai August 02, 2016 1:43 am  

versace sunglasses on sale
ferragamo shoes
ugg outlet
michael kors uk
nfl jerseys wholesale
oakley sunglasses
ugg boots
christian louboutin outlet
christian louboutin uk
ugg boots
reebok shoes
marc jacobs outlet
adidas nmd runner
polo ralph lauren
michael kors outlet
michael kors outlet clearance
michael kors outlet online
tory burch outlet online
true religion outlet uk
cartier sunglasses
tiffany and co
ray-ban sunglasses
coach outlet
ugg outlet
ray ban sunglasses
ugg uk,ugg outlet,ugg boots outlet
cheap nba jerseys
air max 90
burberry outlet
fitflops sale
michael kors handbags
cheap snapbacks
michael kors outlet online
michael kors outlet clearance

Justin August 23, 2016 6:21 am  

There are various details that can be utilized as a part of respects to creating this monetary model. In any case, regularly a month to month loan fee is connected to the exceptional chief adjust and subtracted on a month to month premise. Car Title Loans Chicago

龙大猫 March 12, 2017 8:02 am  

adidas nmd
nike huarache
authentic jordans
lacoste polo shirts
nike huarache
nike huaraches
michael kors handbags
michael jordan shoes
yeezy boost 350
nike air force 1

chenlili March 13, 2017 8:43 pm  

pandora jewelry
michael kors outlet
nike shoes outlet
oakley sunglasses
coach factory outlet
true religion outlet
kate spade outlet online store
ray ban sunglasses
coach factory outlet
christian louboutin shoes

Gege Dai May 27, 2017 12:46 am  

ysl outlet online
kobe 9 elite
michael kors outlet
coach outlet clearance
coach outlet online
nike shoes for women
coach outlet online
michael kors outlet online
louis vuitton outlet

Fghkfhk Dfgaert April 08, 2018 8:47 pm  

hermes belts
pandora outlet
true religion jeans
coach outlet
oakley sunglasses
coach outlet
cheap ray bans
cheap oakley sunglasses
miami heat
raiders jerseys

raybanoutlet001 April 20, 2018 7:12 pm  

converse trainers
yeezy boost 350
asics shoes
bengals jersey
nike outlet
coach outlet
browns jerseys
moncler outlet
nike factory store
nike store

jjjjjjjjjjjjj April 26, 2018 7:46 pm  

nike flyknit
lebron james shoes
adidas yeezy
michael kors outlet online
fitflops sale clearance
air jordans
yeezy boost 350 v2
chrome hearts online
longchamp bags
jordan shoes

zzyytt January 16, 2019 5:44 pm  

converse outlet
cheap nba jerseys
nike basketball shoes
yeezy shoes
lacoste polo
lebron james shoes
mbt shoes
michael kors
kobe shoes
golden goose

avalee January 18, 2019 4:07 am  

Australian online essay writers know how plagiarism can affect the academic paper. Therefore, whenever they write your essay, it is guaranteed that none of the content is copied from anywhere. Coursework writing is an integral part of any student’s academic life. But, getting it perfect can be a struggle. Take coursework help service, from the service providers where experienced writers do the papers. Our coursework writers give only top quality papers.

Students Assignment Help January 21, 2019 3:05 am  

Dedicated writers at Students Assignment Help are providing dissertation writers UAE services to the students without missing the deadlines. To get assignment services from us email us at

Michael Jones January 27, 2019 10:13 pm  

For students java assignment help you just look at the Assignment help given by the assignment experts. Opting for our Java Assignment Help could be ideal for such students and they can get a complete assignment solution from us.

ammie jackson February 07, 2019 3:40 am  

I am the assignment help provider at My assignment help. I have done P.hD in the computers if a student has an issue regarding the assignment writing then may take help from the assignment assistance services .

Zara Williams February 21, 2019 10:07 pm  

The implementation of ERP in organization not only helps the organization to boost its performance but also acts a helping hand for the employees.

Students Assignment Help February 27, 2019 4:02 am  

Online assignment help experts of Students Assignment Help provide best do my assignment services for students of college and university. Our professional writers are enthusiastic to assist you in every assignment task.

Domenic Tylor March 15, 2019 3:52 am  

Australia Assignment Help Sydney is a web portal where students get help in making assignments for all the subjects, with the help of our expert team. You will get plagiarism free content. Expert’s consultation is also available for students. If students have any query they can contact our experts at any time.