Skip to content

Commit

Permalink
Merge pull request #172 from robinwo/master
Browse files Browse the repository at this point in the history
Updated CSS Mailchimp widget
  • Loading branch information
raamdev committed May 22, 2016
2 parents 68185a5 + bec039a commit 3619a67
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ Note that double-quotes are not allowed in that field and that you *must* use si
MailChimp includes its own CSS in the HTML embed code that, by default, doesn't look quite right with Independent Publisher. To fix the MailChimp CSS, you can add the following to the `style.css` file of a [Child Theme](https://github.com/raamdev/independent-publisher-child-theme/) (or if you're using JetPack, simply go to *Appearance → Edit CSS* and insert the following):

```
#mc_embed_signup .button {
#mc_signup .button {
margin-top: 0 !important;
padding-left: 15px !important;
padding-right: 15px !important;
padding-top: 2px !important;
Expand All @@ -190,28 +191,28 @@ MailChimp includes its own CSS in the HTML embed code that, by default, doesn't
width: 100% !important;
}
.entry-content #mc_embed_signup h2 {
.entry-content #mc_signup h2 {
font-size: 1.8em !important;
}
.entry-content #mc_embed_signup input.email {
.entry-content #mc_signup input.email {
width: 100% !important;
}
.entry-content #mc_embed_signup label {
.entry-content #mc_signup label {
padding-bottom: 0 !important;
}
.entry-content #mc_embed_signup .mc-field-group {
.entry-content #mc_signup .mc-field-group {
width: 99% !important;
}
.widget #mc_embed_signup form {
.widget #mc_signup form {
text-align: center !important;
font-family: "Myriad Pro", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
}
.widget #mc_embed_signup input.email {
.widget #mc_signup input.email {
width: 100% !important;
text-align: center;
}
.widget #mc_embed_signup input.button {
.widget #mc_signup input.button {
width: 100% !important;
}
```
Expand Down

0 comments on commit 3619a67

Please sign in to comment.