Hide menu on all devices

Post Reply
jbn1981
Posts: 17
Joined: 10 May 2011, 13:00

17 Jan 2021, 11:17

Is there a way to hide the menu? I mean, I just don't want a menu. Not on mobile, not on desktop.

Thanks.
Primefaces 2.2.1 | Mojarra 2.0.4 | Tomcat 6

tugce.kucukoglu
Posts: 146
Joined: 23 Oct 2020, 09:28

19 Jan 2021, 11:12

Hi,

@can Could you please check this issue?

Best regards,

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

21 Jan 2021, 11:10

Hi,

Please remove <div className="layout-menu-container" > tag in your project. Then, please use;

Code: Select all

.layout-wrapper .layout-topbar .layout-menu-button { // OR remove <button className="layout-menu-button ..." tag
   display: none !important;
}
@media screen and (min-width: 897px) {
   .layout-wrapper .layout-main {
      margin-left: 0px !important
   }
}
Best Regards,

Post Reply

Return to “Roma - PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests