Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Can't Adjust Mobile Menu Padding


Becker

Question

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 post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

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 post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...