• Resolved DFC005

    (@dfc005)


    Since updating WordPress to version 6.6, the category list in the sidebar on the edit post page is no longer in a scrolling list. Instead it shows ALL the categories down the side of the page.

    Is this happening to anyone else?

Viewing 15 replies - 1 through 15 (of 24 total)
  • yes, this happened to me too

    same problem for me too. category list is no longer scrolling, instead all categories appear. rolling back to 6.5.5 fixes it.

    majkoden

    (@majkoden)

    Is there any way to fix it without rolling back? I have lots of categories on a blog and is terrible to scroll down entire page when i want to publish or something. Thanks

    fynight

    (@fynight)

    Yep, dont use classic editor its not working currently i turned mine off and it worked fine, but must admit prefer classic editor

    vinodkkumar

    (@vinodkkumar)

    Same problem to me when updated to 6.6 version but slightly different. The category list is not collapsible. It shows all categories on ‘new post’ page. Like if I have 20 categories, all are displayed. Earlier 4-5 categories out of 20 were displayed but rest were scrollable. The problem is with the CSS in max-height. Kindly provide an update of the plugin.

    fynight

    (@fynight)

    A Fix – Install Plugin Admin CSS MU

    Once installed and activated goto appearence and click Admin CSS MU create a new Admin CSS then copy and paste the below lines

    div#categorydiv.postbox {
    height: 270px;
    }

    div#category-all.tabs-panel {
    height: 150px;
    }

    This click save, done

    The first set controls the size of the actual category box, the 2nd set controllers the in inside box size.

    • This reply was modified 3 months ago by fynight.
    karisletten

    (@karisletten)

    The above code didn’t work for me but the following did. Using the plugin Admin CSS MU I added

    .categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel {
    height: 200px!important;
    }

    vinodkkumar

    (@vinodkkumar)

    Those who don’t want to use any other extra plugin, can put this code directly in functions.php at the end:

    add_action(‘admin_head’, ‘admin_css_code’);
    function admin_css_code()
    {
    echo ‘<style>
    .categorydiv div.tabs-panel
    {
    max-height: 200px;
    }
    </style>’;
    }

    But when updating the theme, you need to put it again.

    CineWars

    (@max1138)

    Hmmmm

    I get this when adding to Functions:

    Your PHP code changes were not applied due to an error on line 562 of file /srv/htdocs/wp-content/themes/darknews-pro/functions.php. Please fix and try saving again.

    syntax error, unexpected token “>”

    fynight

    (@fynight)

    dont add to functions.php use my method, it’s simple.

    • This reply was modified 3 months ago by fynight.
    CineWars

    (@max1138)

    Hmmmm

    The

    Appearence > Admin CSS MU

    Link has not been created so I cannot access/create a new Admin CSS

    vinodkkumar

    (@vinodkkumar)

    The syntax error is due to copy-paste of the code. During copy-paste the characters get changed due to different set of fonts in html.

    Type the code exactly as given. It will work.

    fynight

    (@fynight)

    mmm, now that is odd I must say. So do you know how to access custom CSS within your themes back end, the code should work if added to that as well.

    you might also have an issue with your files not being able to write to and save change permission on said files temp while you try and add the code.

    Or listen it the person above, he might have fixed your issue as well.

    • This reply was modified 3 months ago by fynight.
    • This reply was modified 3 months ago by fynight.
    tille

    (@tille)

    @vinodkkumar Brilliant, thank you!

    For those struggling with the formatting of the code I re-pasted it here in a code-container that should preserve the correct formatting of the ‘s.

    And “of course” always put this the functions.php of your child theme –?then it will be still there after the next theme update…???

    add_action('admin_head', 'admin_css_code');
    function admin_css_code()
    {
    echo '<style>

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

    </style>';
    }
    CineWars

    (@max1138)

    @tille

    That did the trick

    ??

Viewing 15 replies - 1 through 15 (of 24 total)
  • You must be logged in to reply to this topic.