Hi,
is there a way to get the tiered menu horizontaly?
Ramo
tiered menu
you should play with the CSS,
it is a basic menu
should be not to hard to manage
it is a basic menu
Code: Select all
<div>
<ul>
<li><a></a></li>
</ul>
</div>
Last edited by michiel on 15 Jul 2010, 11:20, edited 1 time in total.
JSF-2.0, mojarra-2.0.2-FCS and PrimeFaces-2.1 on GlassFish v3.0.1 (build 22)
-
- Posts: 76
- Joined: 18 Apr 2010, 23:57
Hi,
can you give an example how to modify the css in primefaces components? I''m not sure, where to modify the css... A hint would be useful. Probably it should be direct in the component.
Thank you,
Ramo
can you give an example how to modify the css in primefaces components? I''m not sure, where to modify the css... A hint would be useful. Probably it should be direct in the component.
Thank you,
Ramo
-
- Posts: 47
- Joined: 19 Apr 2010, 19:09
- Location: Gloucester, UK
If you want to modify any of the PF styles the easiest way is to provide your own stylesheet containing just the changes / overrides you want to make. The PF stylesheets are always inserted into the head before your stylesheet. For example, in the site I'm currently working on I override the border settings in the layout component by providing a stylesheet containing (amongst other things):
Code: Select all
.ui-layout .ui-layout-doc .ui-layout-unit-center div.ui-layout-bd { border-width: 0px; }
.ui-layout .ui-layout-doc .ui-layout-unit-top div.ui-layout-bd { border-width: 0px 0px 1px 0px; }
.ui-layout .ui-layout-doc .ui-layout-unit-bottom div.ui-layout-bd { border-width: 1px 0px 0px 0px; }
.ui-layout .ui-layout-doc .ui-layout-unit-left div.ui-layout-bd { padding: 2px; }
.ui-layout .ui-layout-doc .ui-layout-unit-left div.ui-layout-hd { padding: 2px; }
PrimeFaces 3.0.1, Mojarra 2.1.3, GlassFish 3.1.1, Netbeans 7.0, Firefox 7
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
New user's guide has also more information about skinning, css selectors of most of the components are documented and there's a skinning section for themes.
-
- Posts: 76
- Joined: 18 Apr 2010, 23:57
Hi there,
cagatay, do you mean the userguide from 23.05.2010 or is there a newer one?
I tried to get this menu with submenus horizontally, but can't get it styled. It's a kind of weird
Ramo
cagatay, do you mean the userguide from 23.05.2010 or is there a newer one?
I tried to get this menu with submenus horizontally, but can't get it styled. It's a kind of weird
Ramo
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Yes, new user's guide is available now, last update 18/07/2010.
http://www.primefaces.org/documentation.html
What do you mean by horizontal, is there an example somewhere I can look?
http://www.primefaces.org/documentation.html
What do you mean by horizontal, is there an example somewhere I can look?
-
- Posts: 76
- Joined: 18 Apr 2010, 23:57
Hi,
thank you for the new Documentation, i'll have a look at it. With "horizontal menu" i mean something like this:
http://www.cssplay.co.uk/menus/dd_valid_2.html
nothing special. Just the menu you did (vertically) in a horizontal way. If i try to use the .yui-skin-sam css attributes nothing happens.
hth,
Ramo
thank you for the new Documentation, i'll have a look at it. With "horizontal menu" i mean something like this:
http://www.cssplay.co.uk/menus/dd_valid_2.html
nothing special. Just the menu you did (vertically) in a horizontal way. If i try to use the .yui-skin-sam css attributes nothing happens.
hth,
Ramo
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I see, this horizontal one is a different menu, maybe you can use;
http://css.maxdesign.com.au/listamatic/horizontal01.htm
http://css.maxdesign.com.au/listamatic/horizontal01.htm
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 39 guests