I am trying to create a newsletter subscription strip above the footer and I am having major issues styling it. Basically I require:
1: all the components to be vertically aligned and to be aligned with each other
2: The sign up field to be on the right hand side of the strip
3: My client is away but he explicitly says: copy: ‘ Join Balance and get 20% off your first order’ Use Balance Coffee GIF here to add next to text. Not sure where best to put it but as a bonus if someone has any ideas where I should put this gif, will be much appreciated.
Here is the strip:
Here is the HTML and CSS:
<!-- newsletter section -->
<div class="newsletter_section">
<div class="newsletter_text_section">
<p>Join Balance and get 20% off your first order</p>
</div>
<div class="newsletter_gif_section">
<img src="./wp-content/uploads/2020/07/test-image.gif" alt="Balance Newsletter" style="height:100px;">
</div>
<div class="newsletter_input_section">
<div class="klaviyo-form-X95HYK"></div>
</div>
</div>
.newsletter_section{
width:100% !important;
background: #455657;
overflow:hidden;
padding-top:25px;
padding-bottom:25px
}
.newsletter_text_section {
width: 40%;
float: left;
font-size:24px;
padding-left:30px;
height: 10vh;
line-height: 10vh;
}
.newsletter_text_section p {
font-size:24px !important;
}
.newsletter_gif_section {
width: 20%;
float: left;
height: 10vh;
line-height: 10vh;
}
.newsletter_input_section {
width: 40%;
float: left;
height: 10vh;
line-height: 10vh;
}