Home › Forums › Newsletter Plugin Support › Suscription form color and WP Registration
- This topic has 6 replies, 2 voices, and was last updated 8 years, 2 months ago by
Stefano.
-
AuthorPosts
-
July 23, 2015 at 10:55 pm #16905
elguide
ParticipantHello there my friends!
I would like to set the background color of the suscription form to white (or none). I already tryed setting this up on Subscription Form Fields and Layout, Form style, but no changes where made.
Also, I would like to add the option of WP Registration to this form, how can I do this? You can check the form on: http://www.prakaya.com/alimentacion-saludable/
Thanks in advance for your help.
Best regards.
Guido.
July 27, 2015 at 6:29 pm #16933elguide
ParticipantHi Stefano,
Any thoughts about this issues? Please need your help to resolve them!!
Thanks my friend
July 27, 2015 at 9:00 pm #16936Stefano
KeymasterYou should code your own stylesheets if the default ones do not look good in your theme, there is no other solution.
July 28, 2015 at 1:55 am #16937elguide
ParticipantHi Stefano,
Thanks for your reply. I tryed changing the settings to white or none background on Form style, but no changes were made. Please, can you tell me what code should I use to make the background none or transparent?
Thanks my friend!
July 30, 2015 at 3:34 am #16972elguide
ParticipantHi Stefano,
Any update on the code I should use to get the transparent background on the form?
Thanks mate!
July 30, 2015 at 5:33 am #16973elguide
ParticipantThis is the code that I have:
<script type=”text/javascript”>
//<![CDATA[
if (typeof newsletter_check !== “function”) {
window.newsletter_check = function (f) {
var re = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-]{1,})+\.)+([a-zA-Z0-9]{2,})+$/;
if (!re.test(f.elements[“ne”].value)) {
alert(“El correo electrónico no es correcto”);
return false;
}
for (var i=1; i<20; i++) {
if (f.elements[“np” + i] && f.elements[“np” + i].required && f.elements[“np” + i].value == “”) {
alert(“”);
return false;
}
}
if (f.elements[“ny”] && !f.elements[“ny”].checked) {
alert(“Tienes que aceptar las reglas de privacidad”);
return false;
}
return true;
}
}
//]]>
</script><div class=”newsletter newsletter-subscription”>
<form method=”post” action=”http://www.prakaya.com/wp-content/plugins/newsletter/do/subscribe.php” onsubmit=”return newsletter_check(this)”><table cellspacing=”0″ cellpadding=”3″ border=”0″>
<!– first name –>
<tr>
<th>Nombre (Opcional)</th>
<td><input class=”newsletter-firstname” type=”text” name=”nn” size=”30″></td>
</tr><!– last name –>
<tr>
<th>Apellido (Opcional)</th>
<td><input class=”newsletter-lastname” type=”text” name=”ns” size=”30″></td>
</tr><!– email –>
<tr>
<th>Correo electrónico</th>
<td align=”left”><input class=”newsletter-email” type=”email” name=”ne” size=”30″ required></td>
</tr><!– sex –>
<tr>
<th>Género</th>
<td>
<select name=”nx” class=”newsletter-sex”>
<option value=”m”>Hombre</option>
<option value=”f”>Mujer</option>
</select>
</td></tr>
<tr>
<td colspan=”2″ class=”newsletter-td-submit”>
<input class=”newsletter-submit” type=”submit” value=”Recibir el libro GRATUITO en mi casilla de correo!”/>
</td>
</tr></table>
</form>
</div>Where and what code should I add Stefano?
July 30, 2015 at 5:25 pm #16977Stefano
KeymasterAfter
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)- You must be logged in to reply to this topic.