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

    (@babylon1999)

    Hello @jonasojczyk,

    How to expand the category selection box further? It’s hard to navigate within with over +200 categories… https://imgur.com/a/qZMjRT0

    I’ve written some code below to change its CSS values of it, you can add it to your function.php file or use a plugin.

    /* --- Update CSS on single category page from the Admin side   --- */
    add_action( 'wp_print_scripts', 'Change_CSS' );
    function Change_CSS() {
    	
    	if( ! is_admin() ) { 
    		return; 
    	}
    	
    	?> <style>
    		/* Add custom status order icons */
    		.categorydiv div.tabs-panel{  min-height: 500px !important; }
    	 
    	</style> <?php
    }

    Please note that custom coding is not within our scope of support here, if you need more help with this then please visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Cheers!

    • This reply was modified 3 years, 8 months ago by Saif.
    • This reply was modified 3 years, 8 months ago by Saif. Reason: I copied the wrong snippet
    Thread Starter jonasojczyk

    (@jonasojczyk)

    Hello Saif,

    I found another solution in the meantime.

    Solution:
    Installed plugin: Add Admin CSS by Scott Rielly

    And typed this CSS code in the plugin CSS dashboard:

    .categorydiv div.tabs-panel {
    max-height: 400px;
    }

    Hi @jonasojczyk

    I’m glad you were able to find a resolution to your requirement here and thanks for sharing it to with the community.

    If you have a few minutes, we’d love it if you could leave us a review:

    https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/

    Thanks!

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

The topic ‘Expand the category selection’ is closed to new replies.