Title: CSS for closing button does not work
Last modified: June 25, 2022

---

# CSS for closing button does not work

 *  [fxvibe](https://wordpress.org/support/users/fxvibe/)
 * (@fxvibe)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/css-for-closing-button-does-not-work/)
 * Good morning,
 * After reading through the 6 days course, I was trying to personalise the close
   button using CSS and somehow it does not work.
 * Here the CSS code I have, where ‘promise’ is the popup ID:
 * <style>
    #promise .da-close { background-color: #b8912d; color: #fff; } </style
   >
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-for-closing-button-does-not-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘CSS for closing button does not work’ is closed to new replies.

 * ![](https://ps.w.org/popups-for-divi/assets/icon-256x256.jpg?rev=2553226)
 * [Popups for Divi](https://wordpress.org/plugins/popups-for-divi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popups-for-divi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popups-for-divi/)
 * [Active Topics](https://wordpress.org/support/plugin/popups-for-divi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popups-for-divi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popups-for-divi/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [fxvibe](https://wordpress.org/support/users/fxvibe/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/css-for-closing-button-does-not-work/)
 * Status: not resolved