Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Support request] GP CSS breaks display on other plugins.

Home Forums Support [Support request] GP CSS breaks display on other plugins.

Home Forums Support GP CSS breaks display on other plugins.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #546405
    Harold

    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

    GeneratePress 2.0.2
    #546418
    Harold

    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>';
    }
    #546430
    Tom
    Lead Developer
    Lead Developer

    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
    }
    #546445
    Harold

    Thank you for attending to this. Much appreciated.

    #546484
    Tom
    Lead Developer
    Lead Developer

    No problem – thanks for reporting it!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.