Text of the mailchimp for woocommerce plugin smaller

Hi! I’m trying to do it with css by I’m having a lot of difficulties with the css of this page in particular: https://www.edinventa.com/checkout/

I’m trying to do the text that asks for permission to save the email for future communications smaller. I tried to add the following css code to the global config: woocommerce-mailchimp-opt-in{font-size:85%;}

But it did not work. Why? Maybe I need to edit the page with Pro to add the css only in that page?

Hi there,

Thanks for writing in! Please make use of the following code:

.woocommerce-mailchimp-opt-in label[for="ss_wc_mailchimp_opt_in"] {
    font-size: 16px;
}

Cheers!

It works beautifully! I have surrounded with the code to show it smaller in mobile only:

@media (max-width:480px) { /* mailchimp LOPD explanation text smaller in mobile */
  .woocommerce-mailchimp-opt-in label[for="ss_wc_mailchimp_opt_in"] { 
      font-size: 16px;
  }
}

Thanks

Carlos

Glad to hear that, Carlos. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.