CMS Development

AliceS
Member

Hamburger menu stuck open

SOLVE

Hi, sorry to bother you with a silly question, but i can't figure out why my hamburger menu is not working on my website, mobile version. The original template got it, everything was allright untill some days ago, now it's stuk open. 

This is the site  https://www.datamaze.it/

This is the template http://inboundpixels-2500081.hs-sites.com/starter-kit-home

This is the solution I've tried https://designers.hubspot.com/docs/snippets/responsive/how-to-implement-a-fixed-top-mobile-navigatio...

I'm not a coder, but I can manage some editing in css and html

 

Also alreay checked the forum here but can't find a way out, please help.

0 Upvotes
1 Accepted solution
stefen
Solution
Key Advisor | Partner
Key Advisor | Partner

Hamburger menu stuck open

SOLVE

@AliceS it looks like you have a syntax error in your starter.css file. On the very last line you need to close the media query bracket. e.g.:

  .navbar .links li:last-of-type a {
      margin-left: 0;
      margin-top: 20px;
  }
} <------------ add this right here
.email-edit {
  display: inline-block !important;
}
Stefen Phelps, Community Champion, Kelp Web Developer

View solution in original post

0 Upvotes
2 Replies 2
stefen
Solution
Key Advisor | Partner
Key Advisor | Partner

Hamburger menu stuck open

SOLVE

@AliceS it looks like you have a syntax error in your starter.css file. On the very last line you need to close the media query bracket. e.g.:

  .navbar .links li:last-of-type a {
      margin-left: 0;
      margin-top: 20px;
  }
} <------------ add this right here
.email-edit {
  display: inline-block !important;
}
Stefen Phelps, Community Champion, Kelp Web Developer
0 Upvotes
AliceS
Member

Hamburger menu stuck open

SOLVE

@stefen I've added and nothing happened, then i found another bracket missing and now everything is working. Thank you so much!