aspose file tools*
The moose likes JSF and the fly likes How to change font size of submenu and menu of primefaces. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "How to change font size of submenu and menu of primefaces." Watch "How to change font size of submenu and menu of primefaces." New topic
Author

How to change font size of submenu and menu of primefaces.

Ashok Pradhan
Ranch Hand

Joined: Dec 17, 2007
Posts: 180

In my application I have used primefaces menus everything is working fine but the mubmenu font size is very small.I can change the font size of menuitems by style attribute ( style="font-size :120%") but not in case of menu and submenu .Please help
Nikhil Padharia
Ranch Hand

Joined: Apr 19, 2012
Posts: 37
Check which class is applied to submenus where you want to change the font-size.
And then override that class with the font-size you want.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

If PrimeFaces is anything like RichFaces, it has a set of classes specifically devoted to the different types of PrimeFaces components and their sub-components. Check the PrimeFaces docs.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to change font size of submenu and menu of primefaces.