Title: Remove default style from Shortcode form
Last modified: August 21, 2016

---

# Remove default style from Shortcode form

 *  [cichy380](https://wordpress.org/support/users/cichy380/)
 * (@cichy380)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/remove-default-style-from-shortcode-form/)
 * I installed the newest version of this widget. I put the Newsletter form on my
   site by shortcode, by shortcode generate HTML code and CSS code (style tag). 
   How can I remove this tag to add own styles?
 * [https://wordpress.org/plugins/mailchimp/](https://wordpress.org/plugins/mailchimp/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [mc_elliot](https://wordpress.org/support/users/mc_elliot/)
 * (@mc_elliot)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/remove-default-style-from-shortcode-form/#post-5137014)
 * Hey cichy380!
 * Thanks for swinging by the forum. I totally understand the need to continue utilizing
   your site’s default CSS, and I’m happy to explain how to go about accomplishing
   that.
 * The first step you’ll want to be sure to take is disabling “Custom Styling” for
   the plugin, which will then cause the plugin to rely on your site’s CSS. To do
   that, open the Admin area of your site, and click _Settings> MailChimp Setup_.
   From there, scroll down to _Custom Styling_, and make sure that the _Enabled_
   box is unchecked.
 * That same page in your Admin panel will also include a **CSS Cheat Sheet**, which
   includes all the classes you can target with custom CSS. That should help with
   making any additional changes.
 * Let us know if there are any questions!
 * -Elliot
 *  Thread Starter [cichy380](https://wordpress.org/support/users/cichy380/)
 * (@cichy380)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/remove-default-style-from-shortcode-form/#post-5137089)
 * I installed the plugin on my site and on one of the pages I put a shotcode **[
   mailchimpsf_form]**.
    Enabled is unchecked but in the site’s code I see
 *     ```
       <style>
           .widget_mailchimpsf_widget .widget-title {
               line-height: 1.4em;
               margin-bottom: 0.75em;
           }
           #mc_subheader {
               line-height: 1.25em;
               margin-bottom: 18px;
           }
           .mc_merge_var {
               margin-bottom: 1.0em;
           }
           .mc_var_label,
           .mc_interest_label {
               display: block;
               margin-bottom: 0.5em;
           }
           .mc_input {
               -moz-box-sizing: border-box;
               -webkit-box-sizing: border-box;
               box-sizing: border-box;
               width: 100%;
           }
           .mc_input.mc_phone {
               width: auto;
           }
           select.mc_select {
               margin-top: 0.5em;
               width: 100%;
           }
           .mc_address_label {
               margin-top: 1.0em;
               margin-bottom: 0.5em;
               display: block;
           }
           .mc_address_label ~ select {
               width: 100%;
           }
           .mc_list li {
               list-style: none;
               background: none !important;
           }
           .mc_interests_header {
               margin-top: 1.0em;
               margin-bottom: 0.5em;
           }
           .mc_interest label,
           .mc_interest input {
               margin-bottom: 0.4em;
           }
           #mc_signup_submit {
               margin-top: 1.5em;
               width: 80%;
           }
           #mc_unsub_link a {
               font-size: 0.75em;
           }
           #mc_unsub_link {
               margin-top: 1.0em;
           }
           .mc_header_address,
           .mc_email_format {
               display: block;
               font-weight: bold;
               margin-top: 1.0em;
               margin-bottom: 0.5em;
           }
           .mc_email_options {
               margin-top: 0.5em;
           }
           .mc_email_type {
               padding-left: 4px;
           }
       </style>
       ```
   
 * So the form is generated together with code style. I want to remove all this 
   <style> tag and get rid of that to style the form on my own.
 * By the way,
    can I change the HTML code of the form?
 *  [GunterTheChimp](https://wordpress.org/support/users/gunterthechimp/)
 * (@gunterthechimp)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/remove-default-style-from-shortcode-form/#post-5137110)
 * Hey cichy380,
 * Thanks for writing in with that update. Because those styles are placed in the
   page when the plugin is installed, they’ll need to be removed from the mailchimp_widget.
   php file.
 * To remove that code, head to Plugins>Editor in the Admin Panel, and then select
   the MailChimp plugin. There, click on the link to the right to edit the ‘mailchimp/
   mailchimp_widget.php’ file. Here, you can remove the styles between those <style
   > tags. It’ll look just like it does in the page where the shortcode is used.
 * It’s important to note any changes to that code can be overwritten if there’s
   an update to the plugin. If that happens, that file will need to be edited again.
 * Please feel free to let us know if you have any other questions!
 * -Gunter

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove default style from Shortcode form’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp/assets/icon.svg?rev=3156997)
 * [Mailchimp List Subscribe Form](https://wordpress.org/plugins/mailchimp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [style](https://wordpress.org/support/topic-tag/style/)

 * 3 replies
 * 3 participants
 * Last reply from: [GunterTheChimp](https://wordpress.org/support/users/gunterthechimp/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/remove-default-style-from-shortcode-form/#post-5137110)
 * Status: not resolved