Jump to:

11003 Posts in 2735 Topics by 1824 members

All other Modules

SilverStripe Forums » All other Modules » User defined forms module

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 436 Views
  • hulsey
    Avatar
    Community Member
    13 Posts

    User defined forms module Link to this post

    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

  • Ryan M.
    Avatar
    Community Member
    309 Posts

    Re: User defined forms module Link to this post

    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.

    436 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.