Title: Weird stylesheet issue
Last modified: April 23, 2017

---

# Weird stylesheet issue

 *  Resolved [snart](https://wordpress.org/support/users/snart/)
 * (@snart)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/weird-stylesheet-issue/)
 * I’m having some issues using this plugin with Ad Inserter. Appreciate if you 
   can take a look at this thread:
 * [https://wordpress.org/support/topic/inserting-a-shortcode-in-an-ad-block/#post-9058869](https://wordpress.org/support/topic/inserting-a-shortcode-in-an-ad-block/#post-9058869)
 * The author of Ad Inserter indicates that I should contact you about this problem.
 * Appreciate any thoughts/suggesions.
 * -Arnold

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

 *  Plugin Author [flowdee](https://wordpress.org/support/users/flowdee/)
 * (@flowdee)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/weird-stylesheet-issue/#post-9080630)
 * Hi Arnold,
 * thanks for letting me know.
 * In general the plugin checks if the shortcode was placed on the current post/
   page and then only then includes the stylesheet. The idea is to improve your 
   site performance and don’t load the styles on pages where it’s not needed.
 * When using a tool like ad inserter, of course, the shortcode is not present on
   the post/page because it’s handled inside your 3rd-party-plugin.
 * I’m going to see if I can improve this or at least implement a fallback mode 
   in order to enqueue styles on all pages by default.
 *  Thread Starter [snart](https://wordpress.org/support/users/snart/)
 * (@snart)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/weird-stylesheet-issue/#post-9081656)
 * Great – thanks. The workaround provided by Ad Inserter works fine for now.
 *  Plugin Author [flowdee](https://wordpress.org/support/users/flowdee/)
 * (@flowdee)
 * [9 years ago](https://wordpress.org/support/topic/weird-stylesheet-issue/#post-9147838)
 * Thanks for letting me know. I’m going to add the fix to my plugin as well.

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

The topic ‘Weird stylesheet issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-udemy_ea5252.svg)
 * [Online Learning Courses](https://wordpress.org/plugins/wp-udemy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-udemy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-udemy/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-udemy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-udemy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-udemy/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [flowdee](https://wordpress.org/support/users/flowdee/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/weird-stylesheet-issue/#post-9147838)
 * Status: resolved