• Hi and thanks for your great plugin. Every client loves it and we have been using this as standard configuration of WP in many years. The last update said Couldn’t match CSS with new menu item style, and we also found it little tricky to get rid of the border before the post list mark up container, as the element before has no reachable classname.

    This solution works for us and as we can see, the look is now restored as before the update of WP menu layout. To be said, we have some other layout CSS on the admin menu and your plugin as well, but MAYBE this would be a hint to use on enabled submenues.

    #adminmenu .post_list_view a:focus, #adminmenu .post_list_view a:hover, .folded #adminmenu .post_list_view .wp-submenu-head:hover {
    	box-shadow: none; transform: none;
    }
    
    #adminmenu a:empty:hover {
    	box-shadow: none; transform: none;
    }
    
    /* optional to restore the space */
    #adminmenu .wp-not-current-submenu .wp-submenu {
    	border-left: 0px;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Ah, thank you for the tip.

    The note was about the CSS required for “Show children in dropdown” feature. It needed to put an expand/collapse icon “+”, but, try as I might, I couldn’t find a way to position and fit it well with how WordPress 5.7 displays a new “side bar” for current item on hover. It assumed that the whole row of current item is clickable, instead of just the title as it was before. That’s why I replaced the feature with a “Hide children” option. But I’m open to ideas if you think it can be made to fit – I can try to revive it.

    Otherwise, I kind of like the “side bar”, it makes the current item pop out more.

    Thread Starter Jonas Lundman

    (@intervik)

    Yeh, the border is ok, but we decide to keep the dropdowns compact and only let the side bar apply to the original menu items.

    / J

    Plugin Author Eliot Akira

    (@miyarakira)

    I see, interesting solution. OK, I’ll try the CSS snippet you posted, to bring back the dropdown feature.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Maybe Solved Couldn’t match CSS with new menu item style’ is closed to new replies.