Title: Custom CSS disappears
Last modified: October 26, 2023

---

# Custom CSS disappears

 *  Resolved [sonmar](https://wordpress.org/support/users/soniamariano/)
 * (@soniamariano)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/custom-css-disappears/)
 * Hello,
 * AcyMailing is no longer keeping the custom CSS I add when composing the email.
   I insert the code, send a test, and then go back to editing and the CSS is all
   gone.
 * Anyone with the same problem?
 * Many thanks in advance?

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

 *  Plugin Support [jeremyacy](https://wordpress.org/support/users/jeremyacy/)
 * (@jeremyacy)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/custom-css-disappears/#post-17161316)
 * Hello,
 * thank you for reporting this, this is a bug when re-opening the campaign in the
   editor.
 * It will be fixed in the next version but in the meantime, you can edit the file
   wp-content/plugins/acymailing/back/helpers/editor.php and near the line 250, 
   replace this code:
 *     ```wp-block-code
       $id = acym_getVar('int', 'id');
       ```
   
 * By this one:
 *     ```wp-block-code
       $id = acym_getVar('int', 'campaignId');
       ```
   
 *  Thread Starter [sonmar](https://wordpress.org/support/users/soniamariano/)
 * (@soniamariano)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/custom-css-disappears/#post-17161524)
 * Hello,
 * Thank you for your quick reply.
 * I found 3 instances of the code
 *     ```wp-block-code
       $id = acym_getVar('int', 'id');
       ```
   
 * I replaced the one inside the
 *     ```wp-block-code
       private function getWYSIDStylesheet()
           {
       ```
   
 * and it worked perfectly!
 * Thanks again for your help!

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

The topic ‘Custom CSS disappears’ is closed to new replies.

 * ![](https://ps.w.org/acymailing/assets/icon-256x256.png?rev=2912466)
 * [AcyMailing - An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress](https://wordpress.org/plugins/acymailing/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acymailing/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acymailing/)
 * [Active Topics](https://wordpress.org/support/plugin/acymailing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acymailing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acymailing/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [sonmar](https://wordpress.org/support/users/soniamariano/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/custom-css-disappears/#post-17161524)
 * Status: resolved