Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Question about background image
#1
Not Solved
Yes hello I am trying to upload a back ground image but I do not want it to fill the whole page this is the HTML code I got.

body {
	background: url(http://i36.photobucket.com/albums/e8/ssen291/simcity-4-deluxe-edition_pdp_3840x2160_en_WW_zpst1igdyp9.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

This is my site simcityspeaks.com you can check out the link if you want the background picture is not suppose to go above the menu bar if anyone can help me on this that would be great.

Never mind this has been fixed and solved.
Reply
#2
Not Solved
you can change that like below
body {
background: url("http://i36.photobucket.com/albums/e8/ssen291/simcity-4-deluxe-edition_pdp_3840x2160_en_WW_zpst1igdyp9.jpg") no-repeat scroll top 180px center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)