TGMPA CSS conflict

  • 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;
    });

    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.

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

You must be logged in to reply to this ticket.