- This topic has 2 replies, 2 voices, and was last updated 6 years, 3 months ago by
Steve.
-
AuthorPosts
-
-
October 26, 2015 at 9:27 am #4734
Jimmy JazzMemberHola! I’ve been working with the Gantry5 framework a lot recently, but I’ve found that when I activate the Piklist framework plugin, the Gantry5 theme editor breaks and becomes unusable, as for some reason it fails to load it’s CSS properly. Deactivating Piklist solved the issue.
After a lot of testing, I found the conflict was caused when Piklist loaded and enqeued “admin.css” (at line 173 of class-piklist-admin.php). I also discovered that renaming the file (/parts/css/admin.css) to “piklist_admin.css” and updating the path in the abovementioned line in the main Piklist admin class file fixed the issue.
Seems like both frameworks were loading an “admin.css” file at the same time, which normally shouldn’t be an issue, but the id tag on the script was also being set as id=”admin.css” on both. I found it strange that WP doesn’t resolve that issue automatically while enqueueing…
I image you might get the same conflict in the future with other frameworks and plugins, though.
-
October 26, 2015 at 9:58 am #4737
Jimmy JazzMemberInteresting addition: Gantry5 enqueued it’s admin.css script at the default priority (10), but Piklist enqueued it explicitly at priority 100, apparently causing the Gantry5 admin.css file to be “bumped out”.
-
October 27, 2015 at 10:16 am #4759
SteveKeymasterThanks. This will be updated in 0.9.9.5.
-
-
AuthorPosts
- You must be logged in to reply to this topic.