Site logo

Archived topic

GP CSS breaks display on other plugins.

4 replies · Started by Harold on April 10, 2018

Viewing posts 1–5 of 5

In the following CSS file:
/wp-content/plugins/gp-premium/sites/assets/css/admin.css
On line 155, I find the following:

.complete:after {
	position: relative;
	content: "\f147";
	font-family: dashicons;
	color: #4BB543;
	top: 7px;
	font-size: 30px;
}

This is causing a checkbox to appear in the context of some other plugins' admin areas.
I wonder if you could update the selector to be more specific so that it doesn't interfere in this way.

e.g.
#someGeneratePressContextualId .complete:after { ... }

Thanks

For anyone running into the same issue, the following fix should help in the interim.

 add_action('admin_head', 'fixGPStyleIssues');
function fixGPStyleIssues() {
  echo '<style>
  #someOtherContext .complete:after{
    display: none !important;
  }
  </style>';
}

Thanks! Will get this fixed in the next update.

For now, try this:

add_action( 'admin_head', 'fixGPStyleIssues' );
function fixGPStyleIssues() {
    ?>
    <style>
        div:not(.site-box) .complete:after{
            display: none !important;
        }
    </style>
    <?php
}

Thank you for attending to this. Much appreciated.

No problem - thanks for reporting it!

This archived topic is closed to new replies.