• Resolved WPExplorer

    (@wpexplorer)


    In the plugin you have some CSS like this:

    /* WooCommerce header fix */
    .woocommerce-layout__header,
    /* Elementor Settings */
    #e-admin-top-bar-root {
    width: calc(100% - <?php echo esc_html( $custom_width ); ?>);
    }

    Could you perhaps target a utility class that can be used within other themes and plugins to automatically support your custom width setting?

    Or store the custom width in a CSS custom property (css variable)?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Bowo

    (@qriouslad)

    @wpexplorer do you have an admin screen that is currently incompatible with the custom menu width?

    I wasn’t able to find a utility class that is used across different plugins/themes to target, which is why you’re seeing that CSS.

    Storing it in a CSS variable might be a good idea, but will require documentation to explain it and linking to that documentation, plus some extra work by the user who need it. The current preference is to wait for users to report an incompatible admin screen and fix it for all users who has that admin screen on their sites.

Viewing 1 replies (of 1 total)

The topic ‘Custom Admin Menu Width Compatibility – Request’ is closed to new replies.