I’m trying to style my K2 SmartForms (by Nintex) using Bootstrap 5 with SASS.
However, SmartForms have their own generated HTML structure and styles that often conflict with Bootstrap’s classes and layout system. I’d like to integrate Bootstrap 5 styling (grids, buttons, forms, spacing utilities, etc.) without breaking SmartForms functionality.
What I’ve tried:
Added Bootstrap 5 compiled CSS and JS files to the SmartForms theme via StyleProfile (External css & js files)
Attempted to override K2 default styles using custom SASS variables.
Scoped Bootstrap with a parent class to avoid global conflicts — but that breaks layout consistency.
Tried recompiling Bootstrap with custom variables and a namespace.
My questions:
What’s the best way to integrate Bootstrap 5 with K2 SmartForms while keeping both systems functional?
Should I compile Bootstrap with a custom namespace using SASS?
Is there a recommended or supported approach by Nintex for using modern frameworks like Bootstrap 5 with SmartForms?
Environment:
K2 Five (latest version)
Nintex K2 SmartForms
Bootstrap 5.3
SASS