Guest Posted September 3, 2020 Share Posted September 3, 2020 Site URL: http://www.beckerwhitedesign.com Hi there! I've edited my website so that the mobile menu is visible on both desktop and mobile devices, but I'm trying to push the menu down so that you can see the white mobile bar at all times. I've managed to do so for everything EXCEPT when the menu is closing, in which case it snaps to the top. I'm also unsure as to why the "fade effect" isn't working when I open the menu. If anyone has suggestions for either of these issues, I'd greatly appreciate it! www.beckerwhitedesign.com .is-mobile-overlay-active .Mobile-overlay { @media screen and (min-width: 769px) { top: 65.5px; width: 30%; left: 70%; } @media screen and (max-width: 768px) { top: 65.5px; width: 40%; left: 60%; } @media screen and (max-width: 640px) { top: 80px; width: 80%; left: 20%; } } body { overflow-x: hidden; } body.is-mobile-overlay-active:after { content: ''; width: 100% height: 100%; position: absolute; top: 0; left: 0; background: rgba(0,0,0,.5); z-index: 500; } Link to comment
tuanphan Posted September 3, 2020 Share Posted September 3, 2020 See fine here. Did you find the solution? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Guest Posted September 4, 2020 Share Posted September 4, 2020 No, I just removed the top padding from each media query until I figure it out. 😕 I'm looking to push the menu down below the header and keep it there as it closes. I've changed the CSS back to the coding above so you can see how it glitches when it closes. Thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.