Greetings,
I am fairly new to Drupal and Webform. I really like what you have done to make it easier for non-coding people to create forms. I am looking to try and use CSS classes/styles to change the looks of the components on my forms. I see this the 4.0 release there are two definable fields in Edit Component: "Wrapper CSS classes" and "CSS Classes", which look like they could do the job. What I have been unable to find from several days of search the web is anything that describes where these .css files should reside and how they are to be attached to the particular component. Is there some documentation that could assist me in coming up to speed on this capability?

Regards,
Jeff Click

Comments

danchadwick’s picture

Status: Active » Fixed

The two fields you describe cause webform to add additional classes to the HTML it generates for the component and its wrapper. They can be any css class that is loaded with the webform, but generally you would create a custom theme defining the classes that you add. The custom theme is usually based upon a base theme. There are a number of good base themes, depending upon your needs. Themeing is a very broad topic -- beyond the scope of the webform issue queue. Searching with drupal.org or perhaps buying a Drupal book would be a good place to start. Good luck. Alas, the Drupal learning curve has a high slope.

Jeff Click’s picture

Dan,
Thank you for your response. I do have several books on Drupal, but none quite explain where everything needs to placed. Guess I'll need to examine the custom theming sections in other books before I purchase them. :-) I am using corporateclean as my base theme and have attempted to create a sub-theme, but nothing is working quite yet. I'll keep slogging away at it. Cheers!

danchadwick’s picture

Try to forums or IRC. Lot's of people can help, but this issue queue is for webform-specific issues. Good luck and welcome to Drupal land.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.