Home › Forums › Calendar Products › Events Calendar PRO › Events Pro css conflicting with Gravity Forms and GD CPT css on admin pages
- This topic has 9 replies, 3 voices, and was last updated 11 years, 10 months ago by
Barry.
-
AuthorPosts
-
April 11, 2014 at 9:17 am #131192
Chris
ParticipantWhen Events Calendar and Events Calendar Pro are active, the css it uses interferes with the css to render the settings and admin interface for Gravity Forms and GD CPT. This conflict makes the other two plugin interfaces not usable.
Is there a way to localize the admin css for Events Calendar to just the events Calendar admin screens?April 11, 2014 at 1:41 pm #131396Barry
MemberApologies for the inconvenience.
We’re looking into some changes here, but in the interim could you try adding something like this to your theme’s functions.php file and see if that provides a measure of temporary relief?
/** * Crude means of removing events-admin.css from all screens that are * not "owned" by The Events Calendar. */ function limit_range_of_tribe_admin_styles() { if ( ! class_exists( 'TribeEvents' ) ) return; if ( false === strpos( $_SERVER['QUERY_STRING'], 'tribe' ) ) wp_dequeue_style( TribeEvents::POSTTYPE . '-admin' ); } add_action( 'admin_enqueue_scripts', 'limit_range_of_tribe_admin_styles', 20 );June 19, 2014 at 11:00 am #235831esctechgroup
ParticipantI came here looking for a solution to an Events Calendar Pro conflict I noticed.
Whenever ECP is activated, the Gravity Forms Form Editor breaks (can’t add fields).
Unfortunately, adding the code above to functions.php does not solve the problem. The only solution is to disable ECP which then allows me to edit forms again.
Needless to say, disabling Events Calendar Pro every time I want to edit or create a form isn’t ideal. 🙂
I have both Events Calendar and Events Calendar Pro 3.6.1 installed.
Everything else is running on the latest releases.
Any help would be greatly appreciated!
MikeJune 20, 2014 at 8:27 am #238334esctechgroup
ParticipantQuick Notes & Update to the conflict:
> The conflict only occurs when The Events Calendar PRO is enabled.
> Non-Pro The Events Calendar does not cause a problem with form editing in Gravity Forms.
> I attempted to downgrade The Events Calendar & Pro to 3.5.x and the problem is there with that version as well.
I only recently added Pro to this particular site in development, so I wouldn’t have noticed the issue before.
Thanks again in advance for any insight into the issue.
MikeJune 20, 2014 at 8:38 am #238355Barry
MemberHi Mike,
Really sorry we missed your posts. Can I ask that you post your questions in a new thread of your own? Unfortunately, when you “hijack” another customer’s thread staff aren’t automatically alerted to further replies by anyone other than the original poster.
Sorry for the inconvenience and thanks for bearing with us!
June 20, 2014 at 8:45 am #238386esctechgroup
ParticipantNo apologies needed. I thought I was continuing the thread since it appeared to be the same problem. I’ll post again.
Thanks,
MikeJune 20, 2014 at 10:35 am #238617Chris
ParticipantThis reply is private.
June 20, 2014 at 12:01 pm #238873Barry
MemberExcellent – would you object if I re-post your reply publicly?
June 20, 2014 at 12:09 pm #238897Chris
ParticipantPlease repost as a public reply. Thanks for asking!
June 20, 2014 at 12:13 pm #238904Barry
MemberThanks – that’s appreciated 🙂
I removed the code above and am running WP 3.9.1, ECP 3.6.1, Gravity Forms 1.8.8 and GD Custom Posts And Taxonomies Tools 4.3.3 and I no longer have CSS conflicts in the admin screens of the other plugins. The recent update must have done the trick.
So that’s great news and I’ll close the thread at this point – but, Mike, if you or anyone else does need further help with this/a similar issue definitely do feel free to create a new thread and we’ll do our best to assist.
Thanks!
-
AuthorPosts
- The topic ‘Events Pro css conflicting with Gravity Forms and GD CPT css on admin pages’ is closed to new replies.
