Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #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 here

    But 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
    Flo

    #869857

    Hey 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,
    Victoria

    #869898

    Hi 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 small

    Thanks for your help!

    BR
    Flo

    #870767

    Hi,

    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,
    Ismael

    #870882

    Hi 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
    Flo

    #870924

    I 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
    Florian

    #871158

    New 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
    Flo

    #872182

    Hi,

    We`re glad that your problem was solved!

    Best regards,
    John Torvik

    #875252

    Hi,

    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
    Florian

    #875793

    Hi,
    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,
    Mike

    #875903

    Hello 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
    Florian

    #876332

    Hi,

    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
    Florian

    #876898

    Hi,

    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,
    Ismael

    #877044

    Thanks Ismael!

    That solved the problem on the iphone. Could it just be improved, that the checkbox and the related text stay in one line in case of a line break? (see here what I mean).

    But unfortunately the problem still exists on the ipad, see here. How could that be solved?

    BR
    Florian

    #877241

    Hi,

    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
    Florian

    #877934

    Hi,

    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,
    Ismael

    #880369

    Hi,

    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
    Florian

    #881060

    Hi,

    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,
    Ismael

    #881731

    Hi 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
    Florian

    #881818

    Hi,

    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,
    Ismael

    #882062

    Hi 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
    Florian

    #882114

    Hi,

    Replace the “#top” selector with the “.page-id-…” or replace the “.mc4wp-form” with the “.custom-css” selector.

    Best regards,
    Ismael

    #882154

    It’s solved now, thanks a lot Ismael!!

    #882515

    Hi,

    Awesome. Glad we could help. We’ll close the thread now. :)

    Best regards,
    Ismael

Viewing 24 posts - 1 through 24 (of 24 total)
  • The topic ‘Mailchimp integration with group checkbox’ is closed to new replies.