Home › Forums › Calendar Products › Events Calendar PRO › Unwanted gray boxes appear when plugin is activated
- This topic has 9 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
June 21, 2012 at 12:40 pm #20978
Mark
ParticipantWe are working on our new website built on the Genesis (News) theme. When we activated the Community Events plugins a gray box appears around the Home Top widget region as well as a gray background behind the tabs. You can view the page at http://s148397.gridserver.com/. The way the area around the “Body of Work” article should look, can be seen on the theme demo site at http://demo.studiopress.com/news/. What is the best way to remove those gray boxes?
June 21, 2012 at 4:31 pm #21004Rob
MemberHey Mark. Thanks for the explanation here, and for sharing your link – I am indeed seeing this on my end too. While I’m not sure what could be the cause, our developer Jonah works heavily in Genesis and actually recently published a pretty hefty tutorial on how to integrate The Events Calendar with it. I’ve asked him to take a look here to see if he can help you get this resolved…as he seems well suited to do so.
Stay tuned and thanks for your patience so far.
June 22, 2012 at 9:44 am #21050Jonah
ParticipantHi Mark,
The problem here is that the Community Events plugin is loading a stylesheet for jQuery UI which is applying styles to jQuery UI elements your theme is using. I’m going to check with the other developers to see what the best method for remedying this is. I know we could just override the styles to reset things but it may be better to actually remove the jQuery UI stylesheet loaded by our plugin unless you’re on the page where it’s needed by our plugin.
I’ll get back to you ASAP on this. Thanks for your patience.
– Jonah
June 29, 2012 at 6:47 am #21338Mark
ParticipantIs there an easy, short-term solution we could implement in the mean time?
July 2, 2012 at 4:23 pm #21413Jonah
ParticipantHi Mark,
Try adding this to your theme’s functions.php file:
function remove_styles() {
if(!is_admin()) {
wp_dequeue_style( 'tribe_events-admin-ui' );
}
}
add_action('wp_print_styles','remove_styles',1);
July 9, 2012 at 9:02 am #21737Mark
ParticipantJonah,
Any update on removing the JQuery UI stylesheet from the community events plugin. Thanks
July 9, 2012 at 9:20 am #21738Jonah
ParticipantHi Mark,
No update other than it will be done in a future version. For now you’ll need to use the temporary fix I provided. Did that work?
– Jonah
July 9, 2012 at 9:48 am #21739Mark
ParticipantJonah,
Yes, we were able to get it to work with the code you provided. Thank you for all your help!
July 9, 2012 at 11:26 am #21760Jonah
ParticipantAwesome Mark, we will have this resolved in an upcoming version but I’m glad to hear this worked for you!
– Jonah
July 7, 2015 at 6:25 am #977285Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Unwanted gray boxes appear when plugin is activated’ is closed to new replies.
