MyBB Community Forums

Full Version: How do we get a picture to fit the whole background?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I recently started using the Vienna theme and need to know how to get a picture that fits the whole background without it repeating and it ending half-way down.
(2015-11-22, 05:25 PM)Sami Wrote: [ -> ]Hello,

I recently started using the Vienna theme and need to know how to get a picture that fits the whole background without it repeating and it ending half-way down.

background: url(ur image url) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

background-size: 100% auto;