From e12c6d2ad08aa0ab8501df10337e66ccacb55128 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Fri, 7 Jan 2022 12:17:28 +0500 Subject: [PATCH] hide menu on mobile --- themes/lumbung-theme/static/css/main.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index cc3d0e4..32cf947 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -191,6 +191,18 @@ a { border-bottom: 1px solid #333; } +@media (max-width: 480px) { + #top-menu { + grid-template-columns: 1fr; + } + + .menu, + #top-menu .search, + #login { + display: none; + } +} + .menu-dropdown summary { list-style: none; cursor: pointer;