Sorry. I was able to answer my own question.
It’s code like this:
.slider {
background-attachment: fixed;
background-image: url(images/home-img-1.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
The image wasn’t showing because I made a syntax error in the url.