how to set background image in jumbotron in bootstrap samples
Jumbotron with background image. .jumbotron { background-image:url('../img/header.jpg'); background-size: cover; background-repeat:no-repeat;}. I'm using a jumbotron to show a header on top of my page.I want to assign a background to it and some text to be shown on top of it. If I use the following code.css:.jumbotron {. background-image:url('../img/header.jpg'); background-size: cover; background-repeat:no-repeat; }. HTML: the image and the text will be shown but it will not show the full height of the image.f I use the following code. css: .jumbotron {. background-image:url('../img/header.jpg'); background-size: cover; background-repeat:no-repeat; }. HTML: the image and the text will be shown but it will not show the full height of the image.