Hey everyone! I'm having trouble adding an image as a background to my panel heading and also including an h3 inside it. Below is the code I am using:
<div class="row col-wrap">
<div class="col-lg-4 col">
<div class="panel panel-default">
<div class="panel-heading">
<h3>Simple</h3>
</div>
<div class="panel-body">
<ul class="list-group">
<li class="list-group-item alert alert-success">Smth
<span class="glyphicon glyphicon-ok pull-right"></span></li>
<li class="list-group-item alert alert-danger">smth1
<span class="glyphicon glyphicon-remove pull-right"></span></li>
<li class="list-group-item alert alert-danger">Smth2<span class="glyphicon glyphicon-remove pull-right"></span></li>
<li class="list-group-item alert alert-danger">Smth3<span class="glyphicon glyphicon-remove pull-right"></span></li>
<li class="list-group-item alert alert-danger">Smth4<span class="glyphicon glyphicon-remove pull-right"></span></li>
</ul>
</div>
<div class="panel-footer clearfix">
<h5 class="col-lg-6 col-xs-6">19 999р.</h5>
<button class="btn btn-success pull-right col-lg-6 col-xs-6" type="submit" data-toggle="modal" data-target="#standartCta">Choose</button>
</div>
</div>
</div>
Below is the CSS I am using:
.panel-heading{
background-image: url(../img/flowerbg.svg) no-repeat;
background-position: center;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}
Unfortunately, the background is not changing and it is still filled with the default bootstrap color.