SHORTCODE -------------------
[newsletter]
[newsletter_form form="1"]
CSS -------------------------
.tnp-subscription {
margin: 0 auto;
max-width: inherit;
}
.tnp-subscription form {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0;
align-items: flex-start;
flex-direction: column;
}
@media only screen and (min-width: 768px) {
.tnp-subscription form {
flex-direction: row;
align-items: flex-end;
}
}
.tnp-subscription .tnp-field-firstname {
flex-grow: 0;
flex-shrink: 1;
width: 100%;
}
@media only screen and (min-width: 768px) {
.tnp-subscription .tnp-field-firstname {
width: 25%;
}
}
.tnp-subscription .tnp-field-email {
flex-grow: 1;
flex-shrink: 0;
width: 100%;
}
@media only screen and (min-width: 768px) {
.tnp-subscription .tnp-field-email {
margin-left: 10px;
width: auto;
}
}
.tnp-subscription .tnp-field-button {
flex-grow: 0;
flex-shrink: 1;
width: 100%;
margin-top: 10px;
}
@media only screen and (min-width: 768px) {
.tnp-subscription .tnp-field-button {
margin-left: 10px;
width: 20%;
margin-top: inherit;
}
}
.tnp-subscription input[type=text],
.tnp-subscription input[type=email] {
border: solid 2px #818198;
border-radius: 8px;
height: 45px;
}
.tnp-subscription input[type='submit']:not(.is-form) {
border-radius: 8px;
background-color: #ff7d00;
height: 45px;
font-size: 1.3em;
text-transform: uppercase;
width: 100%;
}
.tnp-subscription label {
padding: 0 0 5px 0;
font-weight: 300;
}