I am just experimenting a little with doing some CSS tweaks, however, I can't seem to get anything to work.

I tried to find the "apps\<my app name>\css" but could not find it so I created one beneath the following directory...

C:\Program Files (x86)\Gerger\Formspider Server\apache-tomcat-6.0.29\webapps\formspider\apps

So my new directory is called...

C:\Program Files (x86)\Gerger\Formspider Server\apache-tomcat-6.0.29\webapps\formspider\apps\XXCAO_CCP\css

I then copied default.css from the following directory...

C:\Program Files (x86)\Gerger\Formspider Server\apache-tomcat-6.0.29\webapps\formspider\css\skins

to my new directory and made a few tweaks to the CSS, nothing was picked up.

So a few questions...

1) It is correct that I had to create a new directory as per above or should the directory already exists?

2) Did I get the default.css from the correct location?

3) If what I've done is correct so far, what am I missing to use a custom CSS file?



asked 06 May '13, 13:18

Craig's gravatar image

accept rate: 6%

1) Yes, you need to create this path, it doesn't exist by default.

2) Yes, /css/skins is the correct path

3) Additionally, you should set custom css for your application by giving your css file name on Edit Application screen on IDE.

We're avare that both creating folder and setting css file name on IDE is weird and will find a better solution in the future releases.

Tip: You don't need to keep all default.css content in your custom css file. Just write the classes you want to override.

Tip2: Using Chrome Dev Tools or Firebug can help you enormously to find out which classes to override.


answered 06 May '13, 13:28

oskansavli's gravatar image

oskansavli ♦♦
accept rate: 45%

edited 06 May '13, 13:46

Thanks for your response.

I did all the correct steps already, perhaps I made a mistake, I'll go back and double check.

Quick question, I notice that in the skins directory there are two other css files, gray.css and slate.css; are these usuable with FS and are they different to Default.css as the name would suggest?



PS. Thanks for the tips :)

(06 May '13, 14:04) Craig

Yes, slate.css and gray.css can be used instead of default.css, and yes they are different.

(06 May '13, 14:42) oskansavli ♦♦

Thanks, it started working by restarting Tomcat.

(06 May '13, 16:10) Craig
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 06 May '13, 13:18

Seen: 1,619 times

Last updated: 06 May '13, 16:10

© Copyright Gerger 2017