How to Embed Images as Background

>> Browse templatesMoney tips79 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)

79 comments:

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  

Hi

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.
Regards
G

Gourney Detoure© July 14, 2007 6:28 am  

Retraction

It seems to work well, thanks alot, to see go to raumars.blogspot.com, 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  

Magnific!

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  

Hi,
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  

Hello!
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?

Thanks

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: http://love-puchie.blogspot.com/

thank you

ann April 24, 2010 3:30 am  

hello friend.do 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 annammama@gmail.com

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

www.fanatictv.blogspot.com

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  

oakley, http://www.occhialioakleyoutlets.it/
adidas outlet store, http://www.adidasoutletstore.us.com/
louis vuitton outlet, http://www.louisvuittonoutletstore.name/
ed hardy clothing, http://www.edhardy.us.com/
longchamp outlet, http://www.longchampoutlet.name/
ray ban sunglasses, http://www.raybansunglassesonline.us.com/
oakley sunglasses, http://www.oakleysunglassescanada.com/
cheap wedding dresses, http://www.cheap-weddingdresses.net/
asics, http://www.asicsisrael.com/
true religion jeans, http://www.truereligionjeanscanada.com/
hermes birkin, http://www.hermesbirkin.org/
lebron james shoes, http://www.lebronjames.us.com/
nike air max uk, http://www.nikeairmaxshoes.org.uk/
beats by dr dre, http://www.beatsbydrdre-headphones.us.com/
michael kors bags, http://www.michaelkorsbags.uk/
true religion jeans, http://www.truereligionjeansoutlets.us.com/
ray ban sunglasses, http://www.ray-bansunglassess.in.net/
nike huarache, http://www.nike-airhuarache.co.uk/
louis vuitton, http://www.louisvuitton.in.net/
cheap mlb jerseys, http://www.cheapmlbjerseys.us.com/
michael kors outlet, http://www.michaelkors-outlets.us.com/
swarovski jewelry, http://www.swarovski.in.net/
designer handbags, http://www.designerhandbags.us.com/
mulberry outlet, http://mulberryoutlet.outlet-store.co.uk/
the north face jackets, http://www.thenorthfacejacket.us.com/
nike roshe, http://www.nikerosherunshoes.co.uk/
mcm outlet, http://www.mcm.in.net/
hollister, http://www.hollistercanada.com/
0924maoqiuyun

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
mm1121

柯云 December 09, 2015 9:02 pm  

2015-12-10keyun
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
hollister
adidas superstar shoes
michael kors outlet
coach outlet online
abercrombie
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
abercrombie
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
reebok
cheap ray-ban sunglasses
black timberland boots
red bottoms outlet online
oakley sunglasses wholesale
ralph lauren outlet online
toms shoes
converse
hollister clothing store
ray ban sunglasses
air jordans
cheap oakleys outlet
asics shoes
versace
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
birkenstocks
yeezy boost 350 white
hermes uk
coach outlet online
true religion
2016524yuanyuan

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"
20167.7chenjinyan

Gege Dai August 02, 2016 1:43 am  

jianbin0802
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
chenlili20170314

Gege Dai May 27, 2017 12:46 am  

fitflops
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
20170527ck

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  

zzzzz2018.4.21
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 info@studentsassignemnthelp.com

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.

Indian Packers and Movers April 01, 2019 6:09 am  


You can forget your stress and anxiety with the help of best movers and packers in Hyderabad who take on the responsibility of shifting your household goods. They will perform all the laborious tasks of packing, loading, moving, unloading and even unpacking your items with much ease. And, they will also help you arrange all your things in the new house as required by you.
Movers and Packers in Gachibowli
Movers and Packers in Kukatpally
Movers and Packers in Chanda Nagar
Movers and Packers in Manikonda

Indian Packers and Movers April 01, 2019 6:11 am  

The best movers and packers in Hyderabad will pack your goods with ultimate care to prevent damages while shifting. They use good quality packing material and different methods of packing for various household items. Furniture, appliances, AC, and other such goods that require dismantling is done with proper guidelines before wrapping, and delicate pieces are handled with special attention.
Movers and Packers in Gachibowli
Movers and Packers in Chanda Nagar
Movers and Packers in Nallagandla
Movers and Packers in Kukatpally
Movers and Packers in Miyapur
Movers and Packers in Sainikpuri

Indian Packers and Movers April 01, 2019 6:12 am  

Thanks for your stop at Indian Packers and Movers in Mumbai. We really know the intentions of the people who are moving their homes or offices in Mumbai.
Packers and Movers in KhargharPackers and Movers in Jogeshwari
Packers and Movers in Kharghar
Packers and Movers in Dombivli
Packers and Movers in Thane West

Indian Packers and Movers April 01, 2019 6:13 am  

Are you looking for Packers Movers in Mumbai. Then you have just reached right website of Packers and Movers Services in Mumbai. Our service as Packers and Movers in Mumbai is rated as Top Packers and Movers in Mumbai.
Movers and Packers in Mumbai
Movers and Packers in Dadar
Movers and Packers in Thane
Movers and Packers in Panvel
Packers and Movers in Kamothe
Movers and Packers in Vashi

Indian Packers and Movers April 01, 2019 6:14 am  

We are known manufacturers of modern classic chair. The designs are so attractive that you will be confused among which one to buy. Our products are well appreciated by top interior designers, esteemed customers and architects.
Chair Manufacturers in Mumbai
Chair Supplier in Mumbai
Office Chair Supplier in Mumbai

Abc assignmenthelp April 02, 2019 12:18 am  

ABC Assignment Help provides professional Perdisco assignment help in various subjects for students studying in colleges and Universities across Australia, UK, USA, New Zealand and Canada. We deliver quality solutions for assignments in over 100 subjects. Our tutors focus on providing step-by-step solution to every assignment problem. As a trusted brand among students, we strive to provide 100% unique solutions at an affordable price.

Assignment Help April 03, 2019 6:05 am  

As an established assignment help shop organization, we always aim to increase the number of in-house experts we have so that we can offer you the perfect assignment writing help in conventional courses like Management, Law, Engineering, etc. We understand how important academic assessments are in developing a student's career and future opportunities, this is why we take extreme measures to ensure that all our solutions are best-in-class. During higher studies in colleges, students often have to prepare multiple documents, quizzes and surprise tests. But somehow that doesn’t seem sufficient enough as students from those top-notch colleges are still opting for online academic assistance in the quest of their respective university assignment help service providers. It can be a very complex subject for those who do not give proper attention to it. Reasons could be many, but our team of psychology assignment help experts are highly qualified in this subject to assist you.

Adam Thomas April 03, 2019 11:12 pm  

This content is very informative for me. Thank you so much for sharing. Need Allassignmenthelp? Click here All Assignment Help Reviews

Unknown April 07, 2019 11:05 pm  

Hey Folks! If you are having the same assignment problems I faced a year ago, here is a piece of advice for you. Get yourself the Online Assignment Help solution at an affordable price. I have been using assignment writing services for a longer period of time. It really helped me improve my skills and grades. And the good thing is that you can focus on other activities as well without compromising.

James Marcus April 08, 2019 3:24 am  

There are lots of services and support available in the Microsoft, so sometimes we get the difficulties with our account and then for removing the account we need support from Microsoft Outlook experts. Some common Microsoft’s issues are as activation issue, code error issue, installation issue and others. We provide technical support for all type of Microsoft issue, so if you need help then visit our Outlook support number website. Here you will get proper help and customer service for all Ms products. Visit the given web page for more information.

Outlook Support Number

James Marcus April 10, 2019 3:52 am  

Outlook Tech Support
Technical support, when we faced some software related issues than for software resolution services we called technical support. Here we provide support for the Outlook, so if you are facing issues with Outlook software, installation then gets tech support from us. Just visit our Outlook tech support website or dial toll-free number to fix it. We provide support for a long time so feel free when you visit our website.



Outlook Tech Support

Keira Tayor April 12, 2019 2:46 am  

Our essay help service enables you to produce a quality essay that reflects your personality and intellect. We understand how difficult it is to produce an essay that decides your fate. Just share your order details and hire essay writing help expert at cost effective rate now.

Mark Hales April 15, 2019 5:37 am  

English essay writing is more like dancing. You don’t have to stay in one place. Give yourself the freedom to write, not just circling around your subject.

kristen April 18, 2019 5:46 am  

Students Assignment Help provides the best mba assignment help to the students of various universities at an affordable price. Our experienced writers are available 24x7 to provide assistance to students for any academic help.

iphongthuynet April 25, 2019 4:32 am  

datxoichecom

prashant April 25, 2019 12:16 pm  


Are you in search of MATLAB Assignment Help or any assistance with MATLAB Project Help Services?? Nothing to worry when MATLAB Solutions team is here. Leave all your Matlab Programming problems on us.

prashant April 25, 2019 12:17 pm  


Thanks for sharing this valuable information, I am here to share some benificial information for stduents looking for assignment help. We are assignment providers providing , mechanical engineering assignment help, electronics assignment help and management assignment help.

prashant April 25, 2019 12:17 pm  

I would like say thanks for this post. Here are some useful links for stdudents all across the globe. If you are looking for assignment help, we are the best providers for you. We have our services which include :
Python Assignment Help
Electrical Engineering Assignment Help
Programming Assignment Help

kristen May 04, 2019 5:33 am  

Students Assignment Help provides the best proofreading and editing services to the students of various universities at an affordable price. Our experienced writers are available 24x7 to provide assistance to students for any academic help.

Domenic Tylor May 09, 2019 2:22 am  

These days assignments are the way to check knowledge in the job. This is very important for our education. When we are working on ‘my assignment help’, you become helpless in getting new ideas. Taking this problem in mind Australiaassignmenthelp.com provides for online assignment help.

Online Assignment help May 09, 2019 10:48 pm  

We Provide assignment help online likes as manage the assignments in colleges and universities. Allassignment is number 1 assignment help services in USA.

Assignment Help May 17, 2019 2:44 am  

Hello, guys, do you know that going through a review of websites will give you much insight about it which you can’t know by simply visiting it, Here are the All assignment help reviews that reviews the website and provides you the best website.

Domenic Tylor May 17, 2019 3:14 am  

Australia university assignment help services we provide any time to help students. We write all type of writing content for all universities students. Directly hire our experts at Australiaassignmenthelp.com.

kristen May 18, 2019 12:31 am  

Students Assignment Help has more than 3000+ Expert research paper writers from all around the world. Our Assignment Experts provide research paper writing for Students. They ensure you to deliver assignments before the deadline. So, that you can get good grades.