main
alexanderroese 2024-06-17 22:56:05 +02:00
parent 871b9f959a
commit 7f5b360c67
1 changed files with 8 additions and 13 deletions

View File

@ -258,19 +258,6 @@
font-size: 1.6rem;
}
}
{% comment %}
custom code
{% endcomment %}
{% if window.location.pathname == "/pages/contact" %}
.header-wrapper {
background-color: yellow !important;
}
{% endif %}
{% endstyle %}
{{ 'base.css' | asset_url | stylesheet_tag }}
@ -320,6 +307,14 @@
})(window, document, "clarity", "script", "lvd5xzm4d8");
</script>
<script>
document.addEventListener('DOMContentLoaded', function() {
if (window.location.pathname === "/pages/contact") {
document.getElementById('header-wrapper').style.backgroundColor = "yellow";
}
});
</script>
<!-- Render CSS content -->
{% render 'shx-feedback-banner'
, content_type: 'head' %}