diff --git a/themes/aura/assets/navbar.css b/themes/aura/assets/navbar.css index 3a7de56c..3c005ec4 100644 --- a/themes/aura/assets/navbar.css +++ b/themes/aura/assets/navbar.css @@ -92,11 +92,7 @@ max-width: 120px; } } -@media screen and (max-width: 767px) { - .yc-header .yc-navbar .menu, .yc-header .yc-navbar .menu-toggler { - height: 30px; - } -} + @media (min-width: 768px) { .yc-header .yc-navbar .menu-toggler { display: none; diff --git a/themes/aura/sections/main-navbar.liquid b/themes/aura/sections/main-navbar.liquid index 5ae7635f..b6c593ef 100644 --- a/themes/aura/sections/main-navbar.liquid +++ b/themes/aura/sections/main-navbar.liquid @@ -19,6 +19,22 @@ .toggle-navbar { display: {{ section.settings.toggle_navbar ? 'none' : 'block' }}; } + + .menu .menu-toggler { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; + background-color: var(--background-color); + border-radius: var(--border-radius); + transform: scale(calc(var(--size) / 100)); + } + + .menu .menu-toggler ion-icon { + color: var(--color) !important; + } {% endstyle %} {% if section.settings.toggle_navbar != true %} @@ -42,7 +58,19 @@ {%- when 'menu' %} -