TGMPA CSS conflict

#32283
  • Resolved Rob
    Rank Math free

    Hi RankMath,

    There’s a stylesheet conflict between RankMath and TGMPA. In /includes/modules/version-control/assets/version-control.css?ver=1.0.38, you have the following CSS rule: .wrap iframe, .wrap a[target="_parent"] { display: none; }. This hides the “Dismiss this notice” button of TGMPA. Because of how general this CSS rule is, I fear TGMPA isn’t the only plugin that is having this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • We are experiencing a similar conflict with our WP101 Plugin. Because of the overly aggressive use of display: none in RankMath, none of our videos (loaded in iframes) are loading on our own page in the admin area.

    We just wrote this temporary filter to address the problem until a proper fix is released:

    /**
     * Temporarily disable the "Version Control" module that was released in
     * Rank Math 1.0.38 which breaks any other iframes.
     */
    add_filter('rank_math/modules', function ($modules) {
    	unset( $modules['version-control'] );
    
    	return $modules;
    });
    Todd
    Rank Math free

    Hi Guys,

    Thanks for your feedback.

    Let me share this with the dev. team and we will have a fix in an upcoming update.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘TGMPA CSS conflict’ is closed to new replies.