How to get the path to work so it shows the background image through css? If it could be done with a relative path then how?
right now with this code, the background image is not being displayed.
Thanks for any help.
/*mobile view*/
.index-banner {
background: url('static/mysite/images/home.svg') no-repeat;
background-position: center;
background-size: cover;
width: 100%;
height: 380px;
}
{% block content %}
<section class="index-banner">
<h2>Test<br>Condiitons</h2>
<h1>lorel ipsum</h1>
<h1>sdfjls upueh ndsfoi bbownl</h1>
<img src="{% static 'mysite/images/home.svg' %}" class="mysite-img" style="display: none;">
</section>
{% endblock %}