Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

User defined forms module


Reply


2 Posts   490 Views

Avatar
hulsey

Community Member, 13 Posts

12 August 2011 at 2:16am

I am having trouble with fields lining up correctly when I create forms using the user defined forms module. I have attempted to re-write some of the css involved in the forms. Not with much success. here is an example of a form I created http://www.hulseyenvironmental.com/commercial-industrial/yellow-grease-container-order-form/ and this is another http://www.hulseyenvironmental.com/contact-us/ (the contact us lines up almost correctly & i had to re write alot of css in the form.css file to make this happen)

Notice that the second one lines up pretty closely, I had to re write alot of the css to make this happen.

Is there s way that I can override the built in CSS of the user defined forms with out having to create major changes. It seems to be picking up it's style attributes from this file themes/paddygreen3/paddygreen/css/form.css and not from userforms/css/FieldEditor.css

Avatar
Ryan M.

Community Member, 309 Posts

12 August 2011 at 7:45am

Duplicate the CSS file and move it to your own theme's css folder. The module will automatically use it instead. Note that you can do this with just about any file, especially .ss template files. This is how we override module defaults without touching their code, making for smoother upgrades in the future.