• Hello,

    I’d like to do two things.

    1) I took the required fields out by using this code.

    #mc-indicates-required {
    display: none;}

    However, now there is somewhat of a gap between the input fields and submit button. Is there a way to move the submit button up a little to be closer?

    2) How do i place words in the text field? I would like to have “Enter email address here…” in the email text field.

    Thanks

    https://wordpress.org/plugins/mailchimp/

Viewing 1 replies (of 1 total)
  • mc_dominic

    (@mc_dominic)

    Hi Billybatz09,

    Thanks for hopping in the forum. There is some margin that is placed on top of the signup button. It can be removed by adding this bit of css to your site:

    #mc_signup #mc_signup_submit {
    margin-top: 0;
    }

    By default the ‘placeholder’ text in your fields is taken from the ‘default text value’ in your MailChimp list forms. This guide from the MailChimp database explains changing that default value: http://kb.mailchimp.com/article/how-do-i-set-default-merge-values-like-dear-customer

    This will work for all fields except the email field. To add a placeholder to that field, a change will have to be made to the plugin files. The steps to do that are below:

    -In wp-admin, go to Plugins > Editor > MailChimp > mailchimp_widget.php.
    -Locate this line of code:
    <input type=”text” size=”18″ placeholder=”‘.esc_html($var[‘default’]).'” name=”‘.esc_attr($opt).'” id=”‘.esc_attr($opt).'” class=”mc_input”/>’;
    -Change $var[‘default’] to $var[‘name’].

    This will begin using your field label as what appears in the placeholder attribute for your input fields.

    Let us know if you have any other questions.

    -mc_d

Viewing 1 replies (of 1 total)
  • The topic ‘Submit Button Space & Input Fields’ is closed to new replies.