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
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
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
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:
Best regards,
Mike
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
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