Main navigation rendered as open at 992px

Created on 8 May 2023, over 1 year ago
Updated 22 April 2024, 8 months ago

Problem/Motivation

The hamburger is rendered at 992px. The functionality is not working fine because at 992px, the main navigation is rendered as opened by default, but it works fine for 991px.

For 993px, the menus are rendered

For 991px, the hamburger functionality is working fine

For 992px, the menus are rendered open with hamburger

Steps to reproduce

1. Install the Curious Chronicles theme
2. Check the inspector
3. Set dimension as 992px
4. The hamburger is rendered but the main navigation is opened by default and functionality is not working fine.

Proposed resolution

The menus are rendered open because of this media query.

Remove this media query in navbar.css and the functionality will work fine.

@media screen and (min-width:992px) {
        .nav-list {
            display: block !important;
        }
    }

Remaining tasks

Review the merge request.

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India admin_juhisingh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024