spark menubar color not change in dashboard.xhtml demo file

Locked
achaheen
Posts: 28
Joined: 26 Mar 2014, 19:38

25 Apr 2015, 21:02

Hello,

I've tried to run the dashboard.xhtml file in my own application, everything is working fine except the color change for the dashboard menubar as per below screenshot.

Image


why the color not changed to blue like all other elements ?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

27 Apr 2015, 11:02

I can't replicate at http://www.primefaces.org/spark/dashboard.xhtml.

Please check "spark-layout-blue.css" and "primefaces-spark-blue/theme.css".

achaheen
Posts: 28
Joined: 26 Mar 2014, 19:38

27 Apr 2015, 15:58

Hi Aragorn,

I've double checked my resources folder and it seems it is fine.

Image

The problem happens only with the upper menu and topmenu part of the page.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

27 Apr 2015, 21:10

I couldn't see "spark-layout-blue.css" at your screenshot. (path: /spark-layout/css/spark-layout-blue.css)
Topmenu is changed by spark-layout-{color}.css . Exp; spark-layout-blue.css for blue

achaheen
Posts: 28
Joined: 26 Mar 2014, 19:38

27 Apr 2015, 23:58

Hi Aragorn,

All files mentioned are existing but it was folded in the previous screenshot,

please check below screenshot with expanded items.

Image


The issue is happening with all colors, the green is fixed color for all top elements even if I changed the name name in the web.xml.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

28 Apr 2015, 12:04

Please review;

http://forum.primefaces.org/viewtopic.php?f=24&t=41911

In demo war, template.xhtml has;

Code: Select all

<h:outputStylesheet name="css/spark-layout#{themeView.color}.css" library="spark-layout" />
In layout distribution zip it has

Code: Select all

<h:outputStylesheet name="css/spark-layout.css" library="spark-layout" />

achaheen
Posts: 28
Joined: 26 Mar 2014, 19:38

28 Apr 2015, 14:46

Thanks so much Optimus.prime the issue has be resolved.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

29 Apr 2015, 17:42

Glad to hear!

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

23 Mar 2017, 12:44

Thanks!

Locked

Return to “Spark”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests