Title: CSS ke
Last modified: December 24, 2018

---

# CSS ke

 *  Resolved [eaglejohn](https://wordpress.org/support/users/danielbenjamins/)
 * (@danielbenjamins)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/css-ke/)
 * I’m experiencing some issues regarding the styling of the popup. This is what’s
   happening:
    1. I copied the contents of /plugins/wp-post-modal/public/css/wp-post-modal-public.
       css to my own stylesheet.
    2. I unchecked “Activate basic styling” because I have to style the modal myself.
    3. wp-post-modal-public.css is still getting loaded from the plugin directory (
       shouldn’t happen since I unchecked that option).
    4. Now the styling is getting loaded twice (from plugin and my own stylesheet),
       yet the popup has no styling anymore…
    5. Clicking outside the popup doesn’t close the popup anymore after doing step 
       2.
 * Any suggestions?

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

 *  Thread Starter [eaglejohn](https://wordpress.org/support/users/danielbenjamins/)
 * (@danielbenjamins)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/css-ke/#post-11038389)
 * Don’t know what went wrong with the topic title. Should have been “CSS keeps 
   getting loaded twice”.
 *  Thread Starter [eaglejohn](https://wordpress.org/support/users/danielbenjamins/)
 * (@danielbenjamins)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/css-ke/#post-11040632)
 * For now I commented out rule 77 of class-wp-post-modal-public.php to deactivate
   the loading of CSS. So far I didn’t manage to dequeue the file succesfully. Any
   suggestions?
 *  Plugin Author [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * (@allurewebsolutions)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/css-ke/#post-11065484)
 * [@danielbenjamins](https://wordpress.org/support/users/danielbenjamins/) I will
   look into this to make sure that plugin option is working properly.
 * Alternatively, you can always just write CSS that overrides the basic styling.
 *  Plugin Author [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * (@allurewebsolutions)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/css-ke/#post-11065516)
 * I just tested and you are right, it does still include the CSS file. But you 
   do need some of the CSS to make the popups work at the basic level.
 * If you have that setting turned on, it adds a “styled” class to your modal wrapper.
   If it’s turned off, it removes the class.
 * This behavior shouldn’t interfere with your custom styling.

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

The topic ‘CSS ke’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-post-modal.svg)
 * [WP Post Popup](https://wordpress.org/plugins/wp-post-modal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-post-modal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-post-modal/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-post-modal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-post-modal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-post-modal/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/css-ke/#post-11065516)
 * Status: resolved