- This topic has 45 replies, 4 voices, and was last updated 1 year, 5 months ago by David.
-
AuthorPosts
-
October 16, 2022 at 5:26 am #2375102Youssef
Hi Fernando ,
Hope all going well.
Many thanks for the links π Yeah i have created an account on mailchimp
On the footer i can manage 5 widgets
Inside the widget the Main idea is to grab Mailchimp code and paste it in a regular text widget.Sincerely i do not know which part of the code to insert.
Could you help please ?Regards
YoussefOctober 16, 2022 at 5:57 am #2375129YoussefHello Fernando and Team support
I am using :
– Generate press Version: 3.1.3
– GP Premium Version: 2.1.2
– Template : primeAppearance > customize > layout > footer > Footer Widgets > I chosse 4
Now when iAppearance > Widgets> Footerwidget 1 > I have added the headline “suscribe now ”
I click to add a block
I choose code π
what should I type ; I m realy …. not finding the right wordBy reading topics on Generate press forum this code is the one that i want
https://generatepress.com/forums/topic/help-adjusting-email-newsletter/when i pass it , it appears the same
.mc4wp-form-fields,
.mc4wp-form-fields input[type=”email”],
.mc4wp-form-fields input[type=”submit”] {
border-radius: 50px;
}
.mc4wp-form-fields,
.mc4wp-form-fields input[type=”email”] {
background-color: #fff;
}.mc4wp-form-fields {
padding: 8px;
display: flex;
max-width: 600px;
margin: 10px auto;}
.mc4wp-form-fields input[type=”email”] {
flex: 1;
border: 0;
}
@media(max-width: 500px) {
.mc4wp-form-fields {
flex-wrap: wrap;
}
.mc4wp-form-fields input[type=”submit”] {
flex: 1;
}
.mc4wp-form-fields {
border-radius: 30px;
}
}Means that there is something i’am missing
any help most welcome πI am not a developer nor a coder but just someone who is trying to make his site successful
I rely on your kind support to achieve my own challengeMany thanks in advance
YoussefOctober 16, 2022 at 2:40 pm #2375637YoussefBy searching on google and reading topics
I have to add HTML code , π
That’s fine but Mailchaimp code is not so beautyCould you help me to modifiy the mailchimp code and have something beautiful
similar as described on this topic
Please i do not know where to make changesTopic : https://generatepress.com/forums/topic/help-adjusting-email-newsletter/
Code I want to implement :
.mc4wp-form-fields,
.mc4wp-form-fields input[type=”email”],
.mc4wp-form-fields input[type=”submit”] {
border-radius: 50px;
}
.mc4wp-form-fields,
.mc4wp-form-fields input[type=”email”] {
background-color: #fff;
}.mc4wp-form-fields {
padding: 8px;
display: flex;
max-width: 600px;
margin: 10px auto;}
.mc4wp-form-fields input[type=”email”] {
flex: 1;
border: 0;
}
@media(max-width: 500px) {
.mc4wp-form-fields {
flex-wrap: wrap;
}
.mc4wp-form-fields input[type=”submit”] {
flex: 1;
}
.mc4wp-form-fields {
border-radius: 30px;
}
}MailChimp Code :
<!– Begin Mailchimp Signup Form –>
<link href=”//cdn-images.mailchimp.com/embedcode/classic-071822.css” rel=”stylesheet” type=”text/css”>
<style type=”text/css”>
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; width:600px;}
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style><form action=”https://.us17.list-manage.com/subscribe/post?u=782dea04db6aee96106a0a400&id=0ccce1d2ab&f_id=00e64be0f0″ method=”post” id=”mc-embedded-subscribe-form” name=”mc-embedded-subscribe-form” class=”validate” target=”_blank” novalidate><h2>Subscribe</h2><span class=”asterisk”>*</span> indicates required<label for=”mce-EMAIL”>Email Address <span class=”asterisk”>*</span>
</label>
<input type=”email” value=”” name=”EMAIL” class=”required email” id=”mce-EMAIL” required>
<span id=”mce-EMAIL-HELPERTEXT” class=”helper_text”></span><!– real people should not fill this in and expect good things – do not remove this or risk form bot signups–>
<input type=”text” name=”b_782dea04db6aee96106a0a400_0ccce1d2ab” tabindex=”-1″ value=””></form>
<script type=’text/javascript’ src=’//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js’></script><script type=’text/javascript’>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]=’EMAIL’;ftypes[0]=’email’;fnames[1]=’FNAME’;ftypes[1]=’text’;fnames[2]=’LNAME’;ftypes[2]=’text’;fnames[3]=’ADDRESS’;ftypes[3]=’address’;fnames[4]=’PHONE’;ftypes[4]=’phone’;fnames[5]=’BIRTHDAY’;ftypes[5]=’birthday’;}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!–End mc_embed_signup–>October 16, 2022 at 5:29 pm #2375682Fernando Customer SupportI see. For reference, can you provide the link to the site in question? Can you also point us to the specific location where you’ve added the form?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
October 17, 2022 at 3:52 pm #2376835YoussefHello Fernando
Thank you so much for your assistance, I am struggling to meet my own challenge.
well the hope is to have :What I have right now is :
Could you please correct my code , to have something beautiful as https://i.ibb.co/k2B75Bj/loi.png
Code HTML , which is inside footer Widget 1
<p><!– Begin MailChimp Signup Form –></p>
<form action=”https://youssefinc.us17.list-manage.com/subscribe/post?u=782dea04db6aee96106a0a400&id=0ccce1d2ab&f_id=00e64be0f0″ method=”post” id=”mc-embedded-subscribe-form” name=”mc-embedded-subscribe-form” class=”validate” target=”_blank”>
<p> <input type=”email” size=”30″ value=”Enter your email” name=”EMAIL” class=”required email” id=”mce-EMAIL” onfocus=”if(this.value==this.defaultValue)this.value=”;” onblur=”if(this.value==”)this.value=this.defaultValue;”></p><p></p>
<input type=”submit” value=”Subscribe” name=”subscribe” id=”mc-embedded-subscribe” class=”button”><p></p></form>
<p><!–End mc_embed_signup–></p>
Code CSS : From a topic on forum generatepress , it’s recommended to use plugin : simplecss
I have put the below code.mc4wp-form-fields,
.mc4wp-form-fields input[type=”email”],
.mc4wp-form-fields input[type=”submit”] {
border-radius: 50px;
}
.mc4wp-form-fields,
.mc4wp-form-fields input[type=”email”] {
background-color: #fff;
}.mc4wp-form-fields {
padding: 8px;
display: flex;
max-width: 600px;
margin: 10px auto;}
.mc4wp-form-fields input[type=”email”] {
flex: 1;
border: 0;
}
@media(max-width: 500px) {
.mc4wp-form-fields {
flex-wrap: wrap;
}
.mc4wp-form-fields input[type=”submit”] {
flex: 1;
}
.mc4wp-form-fields {
border-radius: 30px;
}
}October 17, 2022 at 3:53 pm #2376837YoussefOctober 17, 2022 at 5:57 pm #2376886Fernando Customer SupportI’m not seeing the screenshot. To clarify, is this the form you’re referring to?: https://share.getcloudapp.com/ApuDPkAO
If so, try adding this in Appearance > Customize > Additional CSS:
.site-footer form#mc-embedded-subscribe-form { display: flex; } .site-footer div#optin { border-radius: 20px; background-color: #fff; overflow: hidden; padding: 5px; } .site-footer div#optin p { margin-bottom: 0; } .site-footer div#optin input[type="email"] { background-color:transparent; color: #000; border: none; } .site-footer div#optin input[type="submit"] { background-color: #ff0000; color: #fff; border-radius: 20px; }
If not, please provide the link to the page where we can see the form.
October 21, 2022 at 9:14 am #2381419YoussefHello Fernando
You rock !!
On desktop it’s appear so fine
but on mobile not
how cn we adjust it please ?Regards
YOussefOctober 21, 2022 at 9:34 am #2381437DavidStaffCustomer SupportChange this CSS:
.site-footer div#optin p { margin-bottom: 0; }
to:
.site-footer div#optin p { margin-bottom: 0; flex: 1; }
October 21, 2022 at 12:07 pm #2381576YoussefHello David
nope π not work
regards
YoussefOctober 21, 2022 at 12:16 pm #2381580Youssefthis is the code that i have
.site-footer form#mc-embedded-subscribe-form {
display: flex;
}.site-footer div#optin {
border-radius: 20px;
background-color: #fff;
overflow: hidden;
padding: 5px;
}.site-footer div#optin p {
margin-bottom: 0;
flex: 1;
}.site-footer div#optin input[type=”email”] {
background-color:transparent;
color: #000;
border: none;
}.site-footer div#optin input[type=”submit”] {
background-color: #e9772e;
color: #fff;
border-radius: 20px;
}October 23, 2022 at 3:27 am #2382772DavidStaffCustomer SupportTry this instead:
#optin form { display: flex; padding: 4px 10px 4px 15px; background-color: #fff; border-radius: 30px; } #optin form * { margin-bottom: 0; } #optin form input.email { background-color: transparent; border: 0; } #optin form input.button { border-radius: 30px; } #optin form .clear { margin-left: auto; } @media(max-width: 500px) { #optin form { flex-wrap: wrap; } #optin form p, #optin form .clear { flex: 1 0 100%; } #optin form input.email, #optin form input.button { width: 100%; text-align: center; } #optin form input.button { border-radius: 0 0 30px 30px; } }
October 25, 2022 at 1:56 pm #2386258YoussefThank you i will try and update
October 26, 2022 at 3:18 am #2387279DavidStaffCustomer SupportLet us know π
October 31, 2022 at 8:05 am #2395579YoussefHello ,
things are not easy to do
as I am neither a coder nor a developer, I have done a complete reset of my entire site.
I start from the beginning, I rely on this site: https://beaverhero.com/prime-template-generatepress/
I will not throw away the sponge
I’ll box with this code until I have my e-commerce online
if you have any tips, anything that can help me to modify the template premium π
I am interested, my goal is traced I want to succeed
thank you for any support
With this code the news letter is so big#optin form {
display: flex;
padding: 4px 10px 4px 15px;
background-color: #fff;
border-radius: 30px;
}
#optin form * {
margin-bottom: 0;
}
#optin form input.email {
background-color: transparent;
border: 0;
}
#optin form input.button {
border-radius: 30px;
}
#optin form .clear {
margin-left: auto;
}
@media(max-width: 500px) {
#optin form {
flex-wrap: wrap;
}
#optin form p, #optin form .clear {
flex: 1 0 100%;
}
#optin form input.email,
#optin form input.button {
width: 100%;
text-align: center;
}
#optin form input.button {
border-radius: 0 0 30px 30px;
}
} -
AuthorPosts
- You must be logged in to reply to this topic.