diff --git a/sphinx_material/sphinx_material/header.html b/sphinx_material/sphinx_material/header.html
index 7c49b4d4f..8916e81a4 100644
--- a/sphinx_material/sphinx_material/header.html
+++ b/sphinx_material/sphinx_material/header.html
@@ -6,6 +6,9 @@
class="md-header-nav__button md-logo">
{% if theme_logo_icon|e %}
{{ theme_logo_icon }}
+ {% elif logo_url %}
+
{% elif logo %}
diff --git a/sphinx_material/sphinx_material/sidebar.html b/sphinx_material/sphinx_material/sidebar.html
index bfa74a213..02ee1bbce 100644
--- a/sphinx_material/sphinx_material/sidebar.html
+++ b/sphinx_material/sphinx_material/sidebar.html
@@ -3,6 +3,8 @@
{% if theme_logo_icon %}
{{ theme_logo_icon }}
+ {% elif logo_url %}
+
{% else %}
{% endif %}