Single page template for Wordpress GeneratePress theme that contains a javascript code and form to allow calculate rolls
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Roger Pàmies Fabra db15d385b1
first commit
4 months ago
LICENSE Initial commit 4 months ago
README.md first commit 4 months ago
content-roll.php first commit 4 months ago
single-roll.php first commit 4 months ago

README.md

rolls-calculator-template

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;
}