I am having an issue getting a background url to render in Firefox for my website whilst it works fine in Safari and Chrome.
I have looked through several of the stack posts on this subject namely post1 and post2 and none of the initiatives in these posts have worked thus far.
my html
<div class="jumbotron">
<div style="" class="animated fadeInDown">
<div class="container">
<div class="col-md-12">
<h1>Curing H-pylori <br class="visible-lg "/>Parasite and Gastrointestinal Infections</h1>
<hr style="width:25%;text-align:left;margin:30px 0; border:2.5px solid #fff;"/>
</div>
<div class="col-md-8">
<h2 class="subtitle">Take the step to recovery.</h2>
</div>
</div>
</div>
</div>
my css
.jumbotron {
width: 100%;
min-height: 450px;
background: url('https://s122939.gridserver.com/clients/conversant/images/driving.jpg') center center;
background-size: cover;
opacity: 1;
display: table;
position: relative;
border-radius: 0;
color: white;
text-transform: uppercase;
margin: 0;
polygon(0 0%, 100% 0, 100% 100%, 0% 85%);
clip-path: url(#poly);
overflow: hidden;
}
I have also tried a host of other things to get the image to render without success before asking for help here.
- Deleted my Firefox cached data
- Changed my css to
display: block;
- Checked to ensure that their is no add on blocking in Firefox.
- Used
background: fixed;
- Used
jumbotron::before
- Tried
content: url
Any steering or help would be appreciated.