• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 30.06.22, 09:34
  • Opened by: Marco Brivio
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #23492 - Sidebar menu mobile and sticky header

Hi,

Without AMP module It’s possible set menu mobile like sidebar and not dropdown?

Always for mobile menu how I can set the sticky header? In the theme setting is on but doesn’t work

Thanks

Comments

Fred 30 Jun 2022, 14:01

Hi, Marco.
There is no such option to have sidebar menu, it’s only possible to make a customization, but we do not provide this option.
Sticky header is not available for mobile screens because there is no much space, but if you want to can add this simple CSS code to have sticky header on mobile.

@media(max-width:768px) {
  #header {position: sticky;top: 0;z-index: 999;}
}
Marco Brivio 01 Jul 2022, 15:35

Hi, it’s possible make only the bar menu sticky?

I’ve tried this code but no luck

@media(max-width:768px) {
.mobileHeader .main-menu {position: sticky;top: 0; z-index: 999;}
}

Thanks

Fred 01 Jul 2022, 16:49

Unfortunately it won’t work in this way.
I would suggest you to decrease logo size to have header with small height