Jump to content

Add image to background


Recommended Posts

edit the global.css of your theme (usually themes/yourthemename/css/global.css)

 

and find the body section

body{

}

and use

body{
background: url(../img/back.jpg) center center;
}

the image must be on the img folder of your theme and name must be back.jpg

You have more options to the background image, just check in google background css property

Link to comment
Share on other sites

  • 2 weeks later...

edit the global.css of your theme (usually themes/yourthemename/css/global.css)

 

and find the body section

body{

}

and use

body{
background: url(../img/back.jpg) center center;
}

the image must be on the img folder of your theme and name must be back.jpg

You have more options to the background image, just check in google background css property

I entered this in global css

 

body {

background: url(../img/back.jpg) center center;

}

  font-family: Arial, Helvetica, sans-serif;

  font-size: 13px;

  line-height: 1.42857;

  color: #777777;

  background-color: white; }

 

I still have the same plain white background, I thought maybe I needed to remove the background-color white making it none and still nothing.

 

I put the image titled back.jpg /public_html/themes/default-bootstrap/img

Link to comment
Share on other sites

edit the global.css of your theme (usually themes/yourthemename/css/global.css)

 

and find the body section

body{

}

and use

body{
background: url(../img/back.jpg) center center;
}

the image must be on the img folder of your theme and name must be back.jpg

You have more options to the background image, just check in google background css property

I have been able to determine that if I go to the site and right click to view background the image is there just doesnt show up otherwise...powersauto.com

 

what Im trying to accomplish is shown on: http://usedcarworldwestpa.com/

Edited by khitomer (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...