Skip to main content
Nintex Community Menu Bar

Smartforms - How can I center align my form?

  • February 23, 2015
  • 4 replies
  • 348 views

Forum|alt.badge.img+1

Hello,

 

I've created and added 3 views to my form... Header, Details, and Footer.

 

I would like all three views on the form to be centered on the page when displayed via a browser.  The form is by default left-aligned and I haven't found an article explaining how to center it.

 

Thank you,


David


11021iB163E342EC8A8F9C.png

4 replies

Forum|alt.badge.img+1
  • Author
  • February 23, 2015

I just realized I was using the SharePoint 2013 theme and this caused the form to be left aligned.  When I used the Platinum theme this center aligned my form, and is an acceptable workaround.


Forum|alt.badge.img+10
  • February 25, 2015

You should be able to change this by modifying the main CSS file for that theme.

The file should be located at

C:Program Files (x86)K2 blackpearlK2 smartforms DesignerStylesThemes

and 

C:Program Files (x86)K2 blackpearlK2 smartforms RuntimeStylesThemes

 

Just use F12 to find the right css class

Hope that helps.


Forum|alt.badge.img+1
  • Author
  • February 27, 2015

Thank you, that is good to know!  I am all set now.


  • November 29, 2018

I would like my K2 smart form to be in the center. I changed the form properties and it somehow fixed the issue. 

But I really want to know where exactly to make changes in the CSS class? Any help can be appreciated.