Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1373865

    Hi,

    there is a new question for another website (link in private content).

    The application is divided into 4 fields of 1/4 each. When I activated the privacy policy, the 4th field moved to the second line. The 4th field (the Send button) should be back in the first line on the far right and then the checkbox with the note for the privacy policy below it.

    Many thanks and best regards

    #1373901

    Hey Sabine,
    Thanks for your question, please login to your mailchimp account and go to the form and move the send button before the checkbox, the checkbox is set to full width and is before the button, so the button is added to a new line.

    Best regards,
    Mike

    #1374147

    Hey Mike,

    I’m sorry, but in the mailchimp account is no checkbox in the sign up form. What shall I do now???

    Best regards,
    Sabine

    #1374156

    Hi,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function move_mailchimp_privacy_check_to_end() { ?>
      <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
    $( '.avia-mailchimp-form' ).each(function() {
    $( this ).find( '.av_mailchimp_privacy_check' ).insertAfter( $(this).find('.av-last-visible-form-element').removeClass('first_form') );
    });
    })(jQuery);
    });
    </script>
      <?php
    }
    add_action('wp_footer', 'move_mailchimp_privacy_check_to_end');

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    this is the expected results:
    2022-11-28_003.jpeg

    Best regards,
    Mike

    #1374158

    Hey Mike,

    thank you sooooooooo much – it works perfect. It is so great :)

    You can close this topic and have a wonderful day.

    Best regards,
    Sabine

    #1374160

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Customize Newsletter Registration’ is closed to new replies.