Skip to main content
Nintex Community Menu Bar

Custom styling/themes for K2 Five SmartForms

  • February 27, 2022
  • 2 replies
  • 891 views
  • Translate

Hello, 

 

I am looking for a way to have the k2 smart forms have a modern look and feel, as the default themes don't have these, even when I tried to use the style profiler is K2 5.5, is there a way to import a modern CSS design or as anyone does this before.  

 

i wan nice flat HTML designs for the forms

Did this topic help you find an answer to your question?

2 replies

ernie_hayter
Forum|alt.badge.img+6

Hi Bombata,

 

You can easily add your own stylesheet by adding <link type="text/css" href="<<link to stylesheet>>" rel="stylesheet" /> to a literal datalabel, you can do so in the "When the server loads a View" event to avoid style jumps. If you have no way to host a CSS file somewhere publicly accessible, you can always inject the styles using the <style>...</style> tag.

 

Note that the selectors will be smartforms-specific (so you can't just load an existing style like bootstrap or material design and expect it to work). If you want to use existing stylesheets, you can use JavaScript inject to add the necessary classnames/identifiers to controls to facilitate the necessary selectors.

 

Cheers,

Ernie

Translate

  • 39 replies
  • February 28, 2022

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings