Skip to content

Commit

Permalink
Updated mailchimp widget css
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Wouters committed Jan 6, 2015
1 parent 20a069f commit bec039a
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 @@ -175,7 +175,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 @@ -186,28 +187,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 bec039a

Please sign in to comment.