diff --git a/README.md b/README.md index 59c8f40..aa4bafb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,43 @@ # rolls-calculator-template -Single page template for Wordpress GeneratePress theme that contains a javascript code and form to allow calculate rolls \ No newline at end of file +Single page template for Wordpress GeneratePress theme that contains a javascript code and form to allow calculate rolls + +## CSS + +Add this css code to style.css into Wordpress child theme: + +``` +.gb-container-rolls { + max-width: 1200px; + margin-right: auto; + margin-left: auto; + margin-top:80px; + margin-bottom: 80px; + display:flex; + align-items:center; + justify-content:center; +} + +.gb-inner-rolls { + width:50%; +} + +input.error-data-roll { + border:1px solid red; +} + +input.data-roll { + margin-bottom:20px; + width:100%; +} + +#errorrolls { + color:red; +} + +#resultrolls { + font-size:24px; + margin-top:20px; + text-align: center; +} +``` diff --git a/content-roll.php b/content-roll.php new file mode 100644 index 0000000..66ab527 --- /dev/null +++ b/content-roll.php @@ -0,0 +1,212 @@ + + +
> +
+ + +
+ +
+ + + +
> +
+
+

+ Calcular mi cantidad de papel pintado. Determina el número de rollos necesarios para tus paredes: +

+ + +
+ Anchura total de las paredes que desea empapelar. +
+ +
+ Altura total desde el suelo hasta el techo (descontado el rodapié y/o la moldura). +
+ +
+ datos incluidos en la hoja de descripción del producto. +
+ +
+ datos incluidos en la hoja de descripción del producto. +
+ +
+ Repetición del patrón: datos incluidos en la hoja de descripción del producto. +
+ +
+
+ +
+
+ +
+ '', + ) + ); + ?> +
+
+
+ + + +
+
diff --git a/single-roll.php b/single-roll.php new file mode 100644 index 0000000..5206723 --- /dev/null +++ b/single-roll.php @@ -0,0 +1,53 @@ + + +
> +
> + + + +
+
+ +