Hi team,
Thanks Raymond |
Hi Raymond, To change the default CSS, open the application properties dialog and enter grey.css to the CSS Filename field. For overriding changes...Make a copy of grey.css, modify that file and enter this new file's name to the CSS Filename field in the application properties dialog. Kind regards, |
Hi Yalim, Ok not exactly understanding how that works. My application is called MyFirst. I use Glassfish. So hence I create a directory apps/Myfirst/css and I have copied the slate and gray css files there. I change the application property CSS Filename to gray.css First thing I notice is that the window minimise,maximise and close icons are gone. Secondly when I do "view source" I see that css/skins/default.css is there Thirdly if I change the css in the properties to slate.css and run the app I still have the default blue colours. I tried even stopping and starting glass fish as well as empty cache of Chrome (v 32.0.1700.77) Not sure what is happening here. Cheers Ray PS If I change in main.jsp the css from default to gray.css the window icons max.min and close are displayed. |
Hello Raymond, There's nothing wrong of being load of default.css. It's always loaded. To use skins you also have to copy the "images" folder from "/css" directory into "/apps/Myfirst/css/" directory that you recently created. They're missing that's why the icons are gone. No need to restart glassfish, just clear the cache of browser to be sure. Hope this helps, That did not work. I had to copy the "images" directory into "/apps/MyFirst/". That would be from my point of view also a more logical place instead of under the css directory.
(31 Jan '14, 19:34)
Raymond
Yes you're right, images folder must be under /apps/Myfirst/. And gray.css must be under /apps/Myfirst/css/ .
(01 Feb '14, 04:00)
Serdar ♦♦
|
Why not just change the main.jsp? The the way I know. |