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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

How can I customize the look of Userform layout?


Go to End


4 Posts   949 Views

Avatar
Suzanne

Community Member, 37 Posts

11 October 2012 at 11:08pm

Hi All,

I'm using the module Userforms to add forms to my site. But now i'm woundering how can I adjust the look of the
fields, getting the label and field on one line, getting rid of the frame around it and adjust the look of the button so that it's the
samen as all the other buttons on my website.

Can anybody help??

Suzanne

Attached Files
Avatar
Liam

Community Member, 470 Posts

12 October 2012 at 10:26am

Are you familiar with CSS? Because that's the way to customize it.

Avatar
Suzanne

Community Member, 37 Posts

12 October 2012 at 7:13pm

Yes I'm familiar with CSS but maybe I'm a little bit blind but I can't find the name's that are mentoined in the div's in the CSS file that comes with the Userform module

Avatar
UncleCheese

Forum Moderator, 4102 Posts

14 October 2012 at 2:54pm

No, no... Never modify any of the files that are distributed with the module. SilverStripe allows you to override the templates and stylesheets of external modules. Are you familiar with how theming works in SS?