Tagged: CONTACT FORM, MailChimp
-
AuthorPosts
-
November 2, 2016 at 10:11 am #707034
I removed the First Name and Last Name fields from my MailChimp Form using this Quick CSS code:
#element_avia_1_1, #element_avia_2_1 { display: none; }
However, this also disables the first two elements from the Contact Form. I’m cheating a solution by duplicating the Name and Email fields, but I’d be interested in something more elegant.
Thanks!
- This topic was modified 8 years, 1 month ago by sabrinarubli.
November 3, 2016 at 4:54 pm #707839Hey sabrinarubli,
Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your element and give it a custom CSS class and change your code to following one
.your-custom-class #element_avia_1_1, .your-custom-class #element_avia_2_1 { display: none; }
Best regards,
YigitNovember 4, 2016 at 10:35 am #708126The code you provided works except when there are two forms on one page. For example, here.
November 4, 2016 at 3:35 pm #708237Hi,
Adding custom class to your elements and targeting them that way should apply the changes only on that element with custom class. Please elaborate on the changes you would like to make and post temporary admin logins here privately so we can provide you more accurate solution.
Best regards,
YigitNovember 4, 2016 at 3:51 pm #708261The footer on my site includes a MailChimp signup form. Using the instructions you gave above, the form displays properly on almost every page with only the Email field and a submit button.
However, on the contact page (which has a Contact Form), the mailchimp form in the footer displays the First Name and Last Name fields, when neither of these fields are displayed on any other page on the site, thanks to the quick css code you gave me.
Any ideas?
November 7, 2016 at 11:12 am #709107Hey!
I edited the contact page but I can’t find the “subscribe” section in the advance layout builder. How did you add it?
Cheers!
IsmaelNovember 14, 2016 at 1:07 pm #711920The subscribe section actually lives in the footer.
November 16, 2016 at 2:37 pm #712903Hi!
Try to add this code in Quick CSS (this code hides the first name and last name of the subscribe section, this is only specific to your contact page):
.page-id-3931 .mc_subscribe #element_avia_1_2, .page-id-3931 .mc_subscribe #element_avia_2_2 { display: none; }
Let us know if it works :)
Best regards,
NikkoNovember 17, 2016 at 9:43 am #713456Nailed it. Thanks, Nikko.
November 17, 2016 at 10:15 am #713470Hi!
Glad we could help :)
Regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.