Use a normal menu instead of tabMenu

Post Reply
niuton.daude
Posts: 1
Joined: 01 Jul 2016, 18:44

02 Dec 2021, 18:04

Hello guys,

Is it possible to switch from the tabMenu to a normal plain menu?
Guess I won't need tabs for my menu.

mert.sincan
Posts: 4852
Joined: 29 Jun 2013, 12:38

15 Dec 2021, 12:24

Hi,

You can create a static menu by creating a single tabmenu and then hiding its icon.

Code: Select all

body .layout-wrapper .layout-sidebar .layout-tabmenu .layout-tabmenu-nav {
   display: none;
}

body .layout-wrapper .layout-sidebar .layout-tabmenu .layout-tabmenu-contents {
   left: 0;
}

body .layout-wrapper .layout-sidebar .layout-tabmenu {
   width: 0px;
}

@media (min-width: 1025px) {
body .layout-wrapper.layout-wrapper-menu-active .layout-sidebar {
    width: 200px;
}

.layout-wrapper.layout-wrapper-menu-active .layout-main {
    margin-left: 200px;
}
}
You can change it according to your needs.

Image

Best Regards,

Post Reply

Return to “Atlantis - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests