Skip to content

primefaces 13 missing layout css #2574

Closed Answered by melloware
atomz4peace asked this question in PrimeFaces
Discussion options

You must be logged in to vote

You have it correct the themes built into PF like Arya, Saga, Vela etc only style the components they DO NOT style your Body or Page etc. The premium templates like Poseidon, Freya , Diamond do that with layout.css etc.

For example here is Diamond: https://www.primefaces.org/diamond/

If not just take the layout.css from the Showcase its right here.

https://www.primefaces.org/showcase/javax.faces.resource/css/layout/layout.css.xhtml?ln=showcase

Just download that raw file and save as a CSS file and load it in your app.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by melloware
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants