Dear Community,
I need assistance with the CSS styling of MailChimp's "Submit" button. I have successfully changed the color and font using CSS, but now I am facing a challenge when trying to adjust the padding and margin of the button. Despite my efforts and various experiments in Google Chrome's DevTools, I cannot seem to find a solution as increasing the padding results in the button being cut off.
The first screenshot shows the current appearance, while the second screenshot demonstrates what happens when I increase the top/bottom padding from 0 to 20px.
https://i.sstatic.net/Br7Av.png
https://i.sstatic.net/RRvwq.png
Below is the Custom-CSS I used to modify the font, color, etc:
#mc_embed_signup .button {
background-color: #d1e5e6 !important;
color: #000000 !important;
border-radius: 0 !important;
border: none !important;
font: 16px, bebas_neue, Helvetica, Arial, sans-serif !important;
font-weight: bold !important;
padding-left: 40px !important;
padding-right: 40px !important;
padding-bottom: 13px !important;
}
Here is the HTML for the submit button:
<div style="text-align: center !important;"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
I am seeking help to resolve this peculiar issue. My goal is to ensure all buttons are uniform in size for consistency across the website. Any assistance would be greatly appreciated as I am also struggling with adjusting the "read more" button for post grids. The submit button appears too narrow at the moment.
Thank you!