Skip to main content

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

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.


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.


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


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.


Reply