Topic: show /hide toggle buttons based on sidenav display

Yiannis Kyriazidis free asked 2 years ago

I am trying to acheive this effect as shown in following gif image.

When sidenav is expanded the main nav bar button toggle is hidden. When sidenav is hidden the main nav bar button toggle is displayed.

here is my layout

Dawid Wajszczuk staff answered 2 years ago


You can try something like this

Keep coding,

Yiannis Kyriazidis free answered 2 years ago

thanks that works great

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.11.0
  • Device: windows desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes