Do not call banner "banner", ad-blocks interfere…

This commit is contained in:
Raphael Michel
2020-11-25 18:02:58 +01:00
parent fd6fb52a11
commit cc493968a1
2 changed files with 4 additions and 4 deletions

View File

@@ -114,14 +114,14 @@
{% endfor %}
{% endif %}
{% if request.event.settings.banner_text %}
<div class="banner-top">
<div class="site-notice-top">
{{ request.event.settings.banner_text|rich_text }}
</div>
{% endif %}
{% block content %}
{% endblock %}
{% if request.event.settings.banner_text_bottom %}
<div class="banner-bottom">
<div class="site-notice-bottom">
{{ request.event.settings.banner_text_bottom|rich_text }}
</div>
{% endif %}

View File

@@ -241,9 +241,9 @@ h2.subevent-head {
font-family: $font-family-monospace;
padding: 8px 0;
}
.banner-bottom {
.banner-bottom, .site-notice-bottom {
padding-top: 15px;
}
.banner-top {
.banner-top, .site-notice-top {
padding-bottom: 15px;
}