Support » Plugin: Manual Image Crop » CSS-Problem with Plugin since WordPress 4.7

  • Hello,
    since the last WordPress 4.7 update, CSS problems appear when the Manual Image Crop Overlay is rendered. Usabilty is currently not the best, problems seeming related to WordPress Thickbox JavaScript. Do you see any chance for a fix?

    Thanks for this Plugin and kind regards,
    Carsten

Viewing 3 replies - 1 through 3 (of 3 total)
  • @carstenmeiselbach

    It doesn’t look like this plugin is under active development/support at the moment — but I just noticed this issue myself and think the solution is to make the following change:

    FILE: manual-image-crop/assets/css/mic-admin.css
    LINE: 87 – 92

    FROM:

    .mic-editor-wrapper h4 {
    float: left;
    width: 100px;
    margin-top: 23px;
    line-height: 11px;
    }

    TO:

    .mic-editor-wrapper h4 {
    /* float: left;
    width: 100px;
    margin-top: 23px; */
    line-height: 11px;
    }

    This change is only CSS — presentation not functionality. But I’m not seeing any functionality issues.

    Add these lines inside your functions.php, so you won’t have to change the plugin files to keep them update safe

    // FIX FOR MANUAL IMAGE CROP PLUGIN
    	add_action('admin_head', 'azrPluginFix');
    	function azrPluginFix() {
    	  echo '<style>
    	    .mic-left-col {
    	      width:400px !important;
    	    } 
    	    .mic-editor-wrapper .nav-tab-wrapper {
    	    	margin-bottom:20px !important;
    	    }
    	  </style>';
    	}
    • This reply was modified 2 years, 6 months ago by  bauralex. Reason: additional margin style
    • This reply was modified 2 years, 6 months ago by  bauralex.

    I’ve created a pull request on GitHub with the new CSS lines, hopefully they will merge it

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS-Problem with Plugin since WordPress 4.7’ is closed to new replies.