lkahtz
lkahtz

Reputation: 4796

how to customize formastic style?

I use the great form builder plugin 'formastic' to build a form. It is rather ugly though. How can I set style to it? I find little information through the documentation. Note: I use the newest 1.2.3. with ruby 1.8.7 and rails 3.0.3.

Upvotes: 0

Views: 402

Answers (1)

eugen
eugen

Reputation: 9226

If you used the formtastic generator (rails generate formtastic:install), you have two CSS files in the public/stylesheets subdirectory, called formtastic.css and formtastic_changes.css. Look into the first one to see how formtastic sets the default styles, and then override these in formtastic_changes.css.

Upvotes: 1

Related Questions