Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #731232

    Hey Guys,

    Out of nowhere my mobile menu is not sticking to the top: http://routier.staging.wpengine.com/ (hosted on WPengine)

    i need to make the site live asap and i can’t figure out what is causing this. can you please help? thanks!

    #731238

    If i change the position from relative to fixed, it fixes it but then the container underneath it is covered

    @media only screen and (max-width: 767px)
    .responsive #top #wrap_all #header {
    position: fixed;

    #731239

    I figured it out. i think. hopefully it won’t ruin anything.

    i changed the header to fixed and then the container below it to:

    @media only screen and (max-width: 767px)
    .responsive #top #main {
    padding-top: 88px !important;
    margin: 0;

    the padding was moved to 0.

    #731241

    nope. didn’t work.

    #731242

    i forgot a {} . it works :)

    @media only screen and (max-width: 767px){
    .responsive #top #main {
    padding-top: 88px !important;
    margin: 0;}}

    @media only screen and (max-width: 767px){
    .responsive #top #wrap_all #header {
    position: fixed !Important;
    width: 100%;
    float: none;
    height: auto;
    margin: 0 !important;
    opacity: 1;
    }}

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘URGENT! Mobile menu isn't sticking’ is closed to new replies.