WordPress.org

Support

Support » Plugins and Hacks » MailChimp List Subscribe Form » Change form background color?

Change form background color?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey tcwaters,

    Thanks for posting! You can add a bit of code to your WordPress theme’s stylesheet to do just that:

    #mc_signup_form {
    background-color: red;
    }

    And change “red” to whatever hex code you’d like.

    If you have anymore questions, just let us know!

    -tk

    Is there a similar solution for changing the button color?

    Hello!

    There is! Try this out:

    .mc_signup_submit input[type="submit"] {
    background-color: red;
    }

    Let us know if you have any questions! If you’re seeing the above doesn’t work, look out for any conflicting CSS. And you’re unable to identify the conflict, feel free to post a link to your site here. Best of luck!

    -tk

    Hello,

    In which file to find the code above?
    I’ve looked for .mc_signup by using CTRL+F in every file with the editor.

    Can anyone help me out?

    Thnx!

    The actual CSS code is generated along with the MailChimp.php file, but if you’re just looking to set the CSS code to be active on your site, you should be able to add the above CSS code to your WordPress theme’s stylesheet. This is usually accessed by going to WP-Admin > Appearance > Editor and then editing the style.css file for your theme. Keep in mind that if you update your theme, you’ll likely have to remember to re-add this CSS code to it afterwards.

    -tk

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change form background color?’ is closed to new replies.
Skip to toolbar