Correct way to change theme

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
Del
Posts: 13
Joined: 29 Jan 2019, 18:49

28 Apr 2019, 15:34

Hi,

I bought a Apollo theme and I see that in the index.html there are links to ...theme/theme-blue-light.css...

I used the method changeTheme(), on the "onInit" method to set another theme, but the screen 'flashes' at each reload...

What is the correct way to use a theme chosen by user when he or she logs in?

Thanks.

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

24 May 2019, 10:22

Hi,
Is your login page an angular component? Did you try to change the theme when the user clicks the login button?

Del
Posts: 13
Joined: 29 Jan 2019, 18:49

14 Jul 2019, 00:45

Hi,
I do not know why, but it 'suddenly' start to works fine...
Thank you!

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

19 Jul 2019, 10:12

Glad to hear that :)

Post Reply

Return to “Apollo - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests