Support » Plugin: MailChimp List Subscribe Form » Where to change CSS

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey there,

    Thanks for posting! The decision is ultimately up to you, as adding it in both your theme’s stylesheet and the actual plugin code should work. Though, keep in mind that updating either will likely result in those changes being overwritten, so you’ll need to remember to add them back on each update.

    If you decide to add it to your theme’s stylesheet, depending on what CSS you’re adding, you may see that the changes aren’t taking effect, in which case what’s called the CSS hierarchy may be causing it not to work.

    If so, you’ll then need to make your css changes to the plugin code, which can be done by going to your wp-admin area, then Plugins > editor > mailchimp. Edit the mailchimp_widget.php file there, and locate this block of code:

    <style>
    	.widget_mailchimpsf_widget .widget-title {
    		line-height: 1.4em;
    		margin-bottom: 0.75em;
    	}

    You can add and insert any CSS here as you’d like. 🙂

    Let us know if you have any questions!

    I had a similar issue in that I wanted to change some margins and padding on the form. You can add css to your custom style.css but you must add the !important attribute to make that work.

    Yep yep, adding !important will work, as it’ll override and take priority over everything else in terms of CSS. Keep in mind that the !important declaration is generally suggested to only be used when absolutely necessary when it comes to CSS on a site. If you’re interested, there’s more info at the following link: http://coding.smashingmagazine.com/2010/11/02/the-important-css-declaration-how-and-when-to-use-it/

    cheers! 🙂

    -tk

    Thread Starter msmith00

    (@mrsmith1313)

    awesome… thx for the input and guidance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where to change CSS’ is closed to new replies.