Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

176
Views
I have an issue with long-long burger menu and sticky header, how to fix it?

I have a long mobile menu on my website, it works fine, but not with the sticky header script. You can see it, if you delete or /comment/ the sticky header script Codepen

I tried to copy all necessary styles and scripts, but without logo and icons, just imagine that burger svg is changing to 'X' when it's opened. It's only for mobiles, so I wrote max-width 485px, originally it was @media.

When submenu items are opened, I can't scroll the window down. The 'overflow-hidden' is only for x, for y it's auto. I tried to add

jQuery('header').removeClass('sticky');

there, inside

jQuery('.burger-toggle-item span.fa-burger').on('click', function() {
  jQuery(this).toggleClass('fa-burger fa-close');
  jQuery('.burger-menu-wrapper').slideToggle();
});

Tried to change position absolute to fixed. How to make that menu and sticky header friendly to each other?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!