Overlay and slim modes

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
haase
Posts: 4
Joined: 20 Feb 2018, 19:45

16 Oct 2019, 21:51

How do I configure the menu to overlay or slim modes?

The triggerButton for overlay mode is in the topbar (fa-bars icon), but overlay=true on pv:menu that comes with the license doesn't seem to work.

Also didn't found any mentions to slim mode on the files.


Code: Select all

<ui:composition 
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.org/ui"
    xmlns:pv="http://primefaces.org/paradise">

        <div class="layout-menu-wrapper">
        
            <div class="nano">
            
                <div class="nano-content sidebar-scroll-content">
                
                	<div class="layout-menu-container">
                		
					<h:form id="menuform">
							 <pv:menu>
							 menuItems
							 </pv:menu>
				        

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

17 Oct 2019, 08:53

Hi,

Please examine "Menu" section on https://www.primefaces.org/paradise/docs.xhtml

You need to add layout-menu-* class to wrapper element.

Best Regards,

haase
Posts: 4
Joined: 20 Feb 2018, 19:45

25 Oct 2019, 20:18

Thank you!

I was trying to modify the layout-menu-wrapper in menu.xhtml and forgot about the div in template.xhtml.

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

28 Oct 2019, 12:15

No problem, thanks a lot for the update!

Best Regards,

Post Reply

Return to “Paradise - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests