For bootstrap there is a container per page for example one for the header, one for the footer another for the main page ... or only one for the entire site?
The first part of code will make that you can apply a different background to header / main / footer (and that, from one part). In the second case, you will not be able. Do you need to have a different background?