CariTech Posted October 10, 2022 Share Posted October 10, 2022 Site URL: https://otennatechnologies.com/ Hi. I have the following CSS code to create a desktop burger and dropdown menu. How do I get rid of the white space above the linear black to red gradient when you click on the hamburger? Thanks. CURRENT CODE .header .header-burger{display:flex} .header-nav, .header-actions {display:none} .header--menu-open .header-menu {font-family: roboto; opacity: 1; visibility: visible; width: 30%; margin-left: 70%; box-shadow: -5px 5px 15px #000000 } div.header-menu-nav-item a { color:white!important; font-size: 20px !important; padding: 10px; } .header-menu-nav-folder-content{background:linear-gradient(to bottom, #000000,#7a1009);} .header-menu-nav-item {line-height: 20px!important;} /* If you only want to have the desktop burger visible this CSS will remove all the */ @media (min-width: 767px) { .header-nav-list a:not([href='/burger']) { display: none; } } @media screen and (min-width:992px) { .header-menu-actions { justify-content: center !important; } .header-menu-cta { position: relative; top: -100px; } } Link to comment
tuanphan Posted October 12, 2022 Share Posted October 12, 2022 Add to Design > Custom CSS .header-menu.header-menu--folder-list { padding-top: 0 !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment