diff --git a/plugins/fabrik_element/calc/layouts/fabrik-element-calc-form.php b/plugins/fabrik_element/calc/layouts/fabrik-element-calc-form.php
index 4bff7b8ebaa..acd2c37f0f6 100644
--- a/plugins/fabrik_element/calc/layouts/fabrik-element-calc-form.php
+++ b/plugins/fabrik_element/calc/layouts/fabrik-element-calc-form.php
@@ -1,6 +1,6 @@
height <= 1) :
?>
@@ -10,4 +10,33 @@
-
\ No newline at end of file
+
+*/
+
+/* 06Feb2021 by Bruce Decker - rewrite to translate calc width to bootstrap class*/
+$d = $displayData;
+if($d->cols <= 15){
+ $bootWidth = 'input-small';
+} else {
+ if($d->cols <= 40){
+ $bootWidth = 'input-medium';
+ } else{
+ if ($d->cols <=60){
+ $bootWidth = 'input-large';
+ } else {
+ $bootWidth = 'input-xlarge';
+ }
+ }
+}
+if ($d->height <= 1){
+ $htmlSnip = <<value
+ HTMLSNIP;
+} else {
+ $htmlSnip = <<$d->value
+ HTMLSNIP;
+}
+echo $htmlSnip;
+?>