Padding around horizontal form (pro) image submit button
-
Dear Denny,
I purchased your awesome plugin this afternoon and was working on a nice opt-in bar for my website. It’s a horizental opt-in bar. I used the CSS code that you suggested to someone else on this support forum a couple of months ago ??
But I have 3 questions regarding customizing my bar because I don’t seem to get it right. I have a problem with the preview of the advanced CSS mode.
1) Why is my custom css not accurate? Is there something I am missing? Am I writing the code wrong?
When I am customizing the CSS, the preview looks exactly like I set it up. But when I am seeing the form live, it looks different then I intended.
For example, the padding is very big around the input fields.
The input fields are biggere then I set them to be.2) How can I put space between the input feels? Now they are a bit close to each other. But adding padding to the advanced CSS file didn’t work so far
3) How can I add an image instead of the submit button?
Is it possible? I tried a couple of codes in the CSS
But nothing seems to work so far. So apparently i am doing something wrong with the coding.I am no pro with this. I have basic knowlegde of css.
This was the advanced code I was using:
html:
<input placeholder=”First Name” type=”text” name=”FNAME” />
<input placeholder=”Email Address” type=”email” name=”EMAIL” />
<input type=”submit” value=”Submit” name=”subscribe”>CSS:
.mc4wp-form {padding-top:10px; display: inline-block; }
.mc4wp-form input { padding-left: 50px; padding-right:50px; ; display: inline-block; }
.mc4wp-form input[type=”submit”] {
border: none;
width: 70px;
height: 30px;
background: url(https://miriambos.com/plaatjes/newsletter-button.gif) no-repeat top left;
}.button:hover {
background: url(https://miriambos.com/plaatjes/newsletter-button2.gif;
}
This is the page where I have the opt-in form https://bosplaatjes.nl/newsletter/
Ideally I would like it to be wider so it will align with the width of the page. But that’s a problem for later.I hope you can help me with this.
Thanks very much in advance!Kind Regards,
M
- The topic ‘Padding around horizontal form (pro) image submit button’ is closed to new replies.