Unwanted gray boxes appear when plugin is activated

Home Forums Calendar Products Events Calendar PRO Unwanted gray boxes appear when plugin is activated

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #20978
    Mark
    Participant

    We 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?

    #21004
    Rob
    Member

    Hey 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.

    #21050
    Jonah
    Participant

    Hi 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

    #21338
    Mark
    Participant

    Is there an easy, short-term solution we could implement in the mean time?

    #21413
    Jonah
    Participant

    Hi 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);

    #21737
    Mark
    Participant

    Jonah,

    Any update on removing the JQuery UI stylesheet from the community events plugin. Thanks

    #21738
    Jonah
    Participant

    Hi 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

    #21739
    Mark
    Participant

    Jonah,

    Yes, we were able to get it to work with the code you provided. Thank you for all your help!

    #21760
    Jonah
    Participant

    Awesome Mark, we will have this resolved in an upcoming version but I’m glad to hear this worked for you!

    – Jonah

    #977285
    Support Droid
    Keymaster

    This 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.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Unwanted gray boxes appear when plugin is activated’ is closed to new replies.