WordPress.org

Ready to get started?Download WordPress

Forums

MailChimp List Subscribe Form
Change form background color? (6 posts)

  1. tcwaters
    Member
    Posted 1 year ago #

    How can you change the background color of the form as it appears in the widget?

    THX

    http://wordpress.org/extend/plugins/mailchimp/

  2. mc_tak
    Member
    Posted 1 year ago #

    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

  3. hennies@gmail.com
    Member
    Posted 1 year ago #

    Is there a similar solution for changing the button color?

  4. mc_tak
    Member
    Posted 1 year ago #

    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

  5. Spikky
    Member
    Posted 1 year ago #

    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!

  6. mc_tak
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic