started full header-right responsive hamburger menu

This commit is contained in:
2021-03-26 16:48:47 +01:00
parent f6130faa7c
commit 1733ad128a
5 changed files with 160 additions and 131 deletions

View File

@@ -45,9 +45,9 @@
{% if not configuration.label_display %}
{% set title_attributes = title_attributes.addClass('visually-hidden') %}
{% endif %}
<!-- <h2{{ title_attributes.setAttribute('id', heading_id) }}>&#9776;</h2> -->
<label for="{{ heading_id }}">&#9776;</label>
<input type="checkbox" id="{{ heading_id }}"/>
<h2{{ title_attributes.setAttribute('id', heading_id) }}>&#9776;</h2>
<!-- <label for="{{ heading_id }}">&#9776;</label>
<input type="checkbox" id="{{ heading_id }}"/> -->
{# Menu. #}
{% block content %}

View File

@@ -43,12 +43,18 @@
{{ page.header }}
<div class="header-block header-left col-4">
{% if page.header_left %}
{{ page.header_left}}
<div class="header-block-wrapper">
{{ page.header_left}}
</div>
{% endif %}
</div>
<div class="header-block header-right col-8">
<label for="header-block-right-toggle">&#9776;</label>
<input type="checkbox" id="header-block-right-toggle"/>
{% if page.header_right %}
{{ page.header_right}}
<div class="header-block-wrapper">
{{ page.header_right}}
</div>
{% endif %}
</div>
</div>