Styling native forms?

What you think other Nucleus users should know!
User avatar
Posts: 1123
Joined: Sun Aug 21, 2005 4:45 pm
Location: UK

Styling native forms?

Postby matt_t_hat » Fri Jul 20, 2012 4:33 pm

Once thing I have struggled with for a long time now is how to style the NucleusCMS forms so that they look nice.

Take the comment form, for example, how does one get the silly thing to arrange itself nicely using only CSS? It looks like everything is displaying inline? Am I right?

Hints and tips on NucleusCMS's native forms please.
Nucleus Guru
Nucleus Guru
Posts: 7430
Joined: Wed Feb 22, 2006 6:19 pm
Location: Massachusetts

Postby ftruscot » Sat Jul 21, 2012 9:36 pm

WillyP can give you more specifics, but in general in your skin's css file, you can style it by styling the commentform or loginform classes as well as the formfield and formbutton classes. Nothing secret about it.
Is your question not solved yet?
Search our FAQ,
read the Documentation, or
browse the list of available plugins.

Check out my plugins
User avatar
Nucleus Guru
Nucleus Guru
Posts: 872
Joined: Sun Aug 30, 2009 3:29 am
Location: Pembroke, NH

Postby WillyP » Sun Jul 22, 2012 3:27 pm

Yep, nothing magic going on, just add 'display:block' as explained here: Nucleus Support :: View topic - Fix your comment form, and a little introduction to Firebug.

Return to “Share Your Tips & Tricks”