Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How to change primeng theme? #4358


User avatar
0
fguo created

I like to change the primeng theme, but I couldn't find where the code of <link ...>. Can you give me a hint how to change its theme?

Thanks,


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @fguo,

    We haven't worked on this before. Where did you find the steps/document for changing primeng theme ?

  • User Avatar
    0
    fguo created

    I found it. In .angular-cli.json, style: [ "../node_modules/primeng/resources/themes/bootstrap/theme.css",...].

    primeNg has other themes in ../node_modules/primeng/resources/themes/ folder, e.g. "../node_modules/primeng/resources/themes/start/theme.css".

  • User Avatar
    0
    alper created
    Support Team

    hi check out <a class="postlink" href="https://stackoverflow.com/questions/42012329/angular-2-primeng-style-not-working">https://stackoverflow.com/questions/420 ... ot-working</a>

    In this page right-up corner there's theme change function. Check primeng website for more info <a class="postlink" href="https://www.primefaces.org/primeng/#/datatable">https://www.primefaces.org/primeng/#/datatable</a>