How to display a background image in a page body area? [closed]

To set image only on home page you can use is_home() function in head section of your header.php file like this

if(is_home()){
    <style>
    .class-name{
    background: url('http://127.0.0.1/wordpressbis/wp-content/image.jpg') 
    center center fixed;
    width: 100%;
    height: 100%;
    }
    </style>
}