-
AuthorPosts
-
October 27, 2017 at 8:13 pm #869741
Hi,
I want to have my newsletter subdivided into groups and show below the subscription box, I already made the necessary setup at mailchimp, see here.
I have to subscription boxes:
1. at the front page, see here
2. in the sidebar, see hereBut it seems that this feature is not supported by Enfold.
Please confirm or clarify.Furthermore I tried the mailchimp-plugin for WP where the checkboxes can be added but it seems that the styling is very limited e.g. single line forms are not possible, (only with the CSS Styles Builder what seems to be Pro-feature).
I simply want to have the group check-boxes shown below my two subscription boxes (at the front page and in the side-bar).
How can I achieve this?(Please find below the log-in data for my site)
BR
FloOctober 28, 2017 at 12:21 pm #869857Hey Flo,
You can use the plugin to put the checkboxes and we could help you to adjust them to look the way you want.
If you need further assistance please let us know.
Best regards,
VictoriaOctober 28, 2017 at 1:46 pm #869898Hi Victoria,
That would be great!!
I already set up the plug-in and created a test-site with the two newsletter boxes.
(link below in the private section).I integrated them using the provided shortcode from the mailchimp-plugin.
For the upper box I used the code block from the content elements for integration.
For the sidebar box I just used the text widget and copied the code there.
(let me know if there are better ways to integrate the code.)At the moment the boxes look like this:
I would like to have the following adjustments:
Upper box:
– the fields email, first name and the submit-button should be in one line (like this)
– the checkboxes with the text “choose your topics” should be below in one line, as they already are, but the text after the checkboxes should be a bit bigger and better aligned (more space between the groups)side bar box:
– is basically ok, only the spacing between the check boxes is to big and the text too smallThanks for your help!
BR
FloOctober 31, 2017 at 7:11 am #870767Hi,
Thank you for the update. Pleasea use the following css codes.
.avia_codeblock form[data-id="1226"] .mc4wp-form-fields p:nth-child(1), .avia_codeblock form[data-id="1226"] .mc4wp-form-fields p:nth-child(2), .avia_codeblock form[data-id="1226"] .mc4wp-form-fields p:nth-child(1), .avia_codeblock form[data-id="1226"] .mc4wp-form-fields p:nth-child(4) { width: 32%; float: left; margin-right: 1%; } .avia_codeblock form[data-id="1226"] .mc4wp-form-fields p:nth-child(3) { width: 100%; position: absolute; right: 0; bottom: -20px; } .sidebar .mc4wp-form-fields p br { display: none; } .sidebar .mc4wp-form-fields label { display: block; }
Best regards,
IsmaelOctober 31, 2017 at 4:51 pm #870882Hi Ismael,
that worked fine, thanks!
I have another issue with the checkboxes:
I want to make sure that at leaset one topic/checkbox is selected.
I succsesfully integrated that little script here, which works fine for the upper box, but does not work for the sidebar.What is the problem?
BR
FloOctober 31, 2017 at 6:23 pm #870924I solved that by using the MailChimp for WP Form widget that comes with the plugin.
But another thing is bothering me:
Using the mailchimp plugin instead of the enfold-integration, the form message for being “Successfully subscribed” looks not good at all:Here with the plug-in and here with the enfold-integration.
How can I spicy up the form message, e.g. by increasing text size, using bold text and/or with a frame around it.
BR
FlorianNovember 1, 2017 at 11:48 am #871158New update in this matter :)
I bypassed this problem by using a redirect to URL after successful sign-ups.
So it is solved for the moment, but I am still working on the whole newsletter build-up :)
Thank you guys for your support!BR
FloNovember 3, 2017 at 3:21 pm #872182Hi,
We`re glad that your problem was solved!
Best regards,
John TorvikNovember 10, 2017 at 5:53 pm #875252Hi,
I encountered the following issue:
I want to use the newsletter-box in different locations.
Sometimes with a white background as shown here and, sometimes with a grey background as shown here.
In the case with a grey background I would like to change the background color of the input fields to a white (in order to have a contrast between background and input fields).How can I do that?
(I already tried to do it by defining a custom css class and with following quick css, but also the submit-button was changed to a white background:)} .”CUSTOM-CSS-CLASS” input{ background: white !important; }
BR
FlorianNovember 12, 2017 at 7:38 pm #875793Hi,
Each input field has a id that you can target:#element_avia_0_1 input, #element_avia_1_1 input { background: gray !important; }
You should also include the page id so there won’t be a conflict from page to page.
Best regards,
MikeNovember 13, 2017 at 1:25 am #875903Hello Mike,
“#element_avia_0_1 input, #element_avia_1_1 input” only works with the Enfold-sign-up-element, but I have to use the mailchimp-plugin because of the requirements I described in the earlier posts above.
See in the private content area an example where I want to use the newsletter-box with white input fields (at the bottom of the site).
BR
FlorianNovember 13, 2017 at 10:40 pm #876332Hi,
unfortunately I dicovered another problem with the newsletter-signup box.
The CSS-code above proposed by Ismael seems to be fine for the desktop but not on mobile devices as you can see here.I removed the sign-up form with the checkboxes from the main page now but I temporary keep it on my “start here” page (see link below in the private content area).
Please give me your feedback how to solve this.
BR
FlorianNovember 15, 2017 at 4:43 am #876898Hi,
The CSS-code above proposed by Ismael seems to be fine for the desktop but not on mobile devices as you can see here.
Please wrap the css code inside the following css media query.
@media only screen and (min-width: 768px) { /* Add your Desktop Styles here */ }
Best regards,
IsmaelNovember 15, 2017 at 11:24 am #877044November 15, 2017 at 10:36 pm #877241Hi,
I solved the problem with the ipad-resolution in the meantime by changing the used layout element from a 2/3 column to a 3/4 column.
So only the following 2 issues are still open (as already descibed above):
1. My newsletter signup-boxes have sometimes a white background as shown here and, sometimes a grey background as shown here.
In the case with a grey background I would like to change the background color of the input fields to white (in order to have a contrast between background and input fields).
But since I use the mailchimp-plugin I can not targed the fields with#element_avia_0_1 input, #element_avia_1_1 input { background: gray !important; }
2. Is it possible to keep the checkbox together with the related text in one line in case of a line break? (see here what I mean).
BR
FlorianNovember 17, 2017 at 5:47 am #877934Hi,
But unfortunately the problem still exists on the ipad, see here. How could that be solved?
Increase the css media query view port from 768 to 1024 or 1366 so that it covers the tablet or iPad screens.
@media only screen and (min-width: 1024px) { /* Add your Desktop Styles here */ }
You can also create another signup form layout, specifically for mobile view.
Best regards,
IsmaelNovember 22, 2017 at 5:26 pm #880369Hi,
thanks for your constant support!
I would really appreciate to get your input on these 2 still open issues:
So only the following 2 issues are still open (as already descibed above):
1. My newsletter signup-boxes have sometimes a white background as shown here and, sometimes a grey background as shown here.
In the case with a grey background I would like to change the background color of the input fields to white (in order to have a contrast between background and input fields).
But since I use the mailchimp-plugin I can not targed the fields with#element_avia_0_1 input, #element_avia_1_1 input {
background: gray !important;
}
2. Is it possible to keep the checkbox together with the related text in one line in case of a line break? (see here what I mean).BR
FlorianNovember 24, 2017 at 5:59 am #881060Hi,
1.) Use the following css code to change the color of the input fields.
#top .main_color .input-text, #top .main_color input[type='text'], #top .main_color input[type='input'], #top .main_color input[type='password'], #top .main_color input[type='email'], #top .main_color input[type='number'], #top .main_color input[type='url'], #top .main_color input[type='tel'], #top .main_color input[type='search'], #top .main_color textarea, #top .main_color select { border-color: #ebebeb; background-color: #ffffff; color: #919191; }
2.) Add this code to adjust the style of the checkboxes on mobile.
@media only screen and (min-width: 768px) { #top form p label { display: block; width: 100%; clear: both; } }
If the css media query above already exists, just copy the css declaration inside.
Best regards,
IsmaelNovember 25, 2017 at 8:07 pm #881731Hi Ismael,
Thanks for your Input!
Point 2 is solved but unfortunately point 1 it is not working as I want.The given CSS-code is addressing all input fields on the whole page, but I actually just need the white background for one signup-box (the rest of the input fields should be stay grey).
As you see here just below the newsletter box there is a contact-field where I want to keep the grey background.How can I target the code only for the newsletterbox?
I defined a custom-CSS for the mailchimp code-block but it did not work (I am not sure how to put it in the quick CSS), the following did not work:
..custom-CSS #top.main_color input[type='text'] { border-color: #ebebeb; background-color: #ffffff; color: #919191; }
Looking forward for your help.
BR
FlorianNovember 26, 2017 at 1:05 am #881818Hi,
Thank you for the update. Please use the following css code instead.
#top .main_color .mc4wp-form .input-text, #top .main_color .mc4wp-form input[type='text'], #top .main_color .mc4wp-form input[type='input'], #top .main_color .mc4wp-form input[type='password'], #top .main_color .mc4wp-form input[type='email'], #top .main_color .mc4wp-form input[type='number'], #top .main_color .mc4wp-form input[type='url'], #top .main_color .mc4wp-form input[type='tel'], #top .main_color .mc4wp-form input[type='search'], #top .main_color .mc4wp-form textarea, #top .main_color .mc4wp-form select { border-color: #ebebeb; background-color: #ffffff; color: #919191; }
Best regards,
IsmaelNovember 27, 2017 at 1:05 am #882062Hi Ismael,
that works now, but how can I apply this code only for one site-id or one defined custom-CSS-element?
(I have some cases where I want to keep the standard background-color.)Where exactly in the code do I have to add the .page-id- or .custom-CSS for this case?
BR
FlorianNovember 27, 2017 at 6:57 am #882114Hi,
Replace the “#top” selector with the “.page-id-…” or replace the “.mc4wp-form” with the “.custom-css” selector.
Best regards,
IsmaelNovember 27, 2017 at 11:14 am #882154It’s solved now, thanks a lot Ismael!!
November 28, 2017 at 5:52 am #882515 -
AuthorPosts
- The topic ‘Mailchimp integration with group checkbox’ is closed to new replies.