• Resolved AM77

    (@andy277)


    I have a bit of a specific question that probably no one knows about, and doesn’t really matter for everyone except for me:

    In admin, with the admin menu, what happens is when you get to a screen certain screen size it auto-folds with the body class .auto-fold, and when you open it back up the .auto-fold body class still stays there, but the page can be refreshed to remove the .auto-fold body class.

    But, if you make your browser window to about 850px and manually fold the admin menu, then open the browser window to full screen and allow the menu to auto fold back open, the body class .auto-fold doesn’t remove after refreshing the browser, and the user is stuck with it with that .auto-fold class when the browser window is fully open. The only way to remove is to go back to that screen size (approx 850px, where it will then auto fold) manually unfold the menu, then when you open the browser that auto-fold body class will disappear. There is no design issue though because WordPress designed the admin menu so it doesn’t matter if the .auto-fold body class gets stuck because the menu icon-font images are exactly the same size and position when the menu is fully open and folded.

    But because I like to design everything, I have re-designed the admin with CSS including the admin menu for all my users on my multisite. I designed the admin menu for normal screen sizes and for body class .folded and .auto-fold. So for my new admin design, if a user ever goes to around 850px screen size and closes the admin menu and opens browser to full size, they are stuck with a strange looking design because that .auto-fold body class refuses to remove.

    This is really very specific for me, so I’ll probably have to end up making the admin menu so the icon-font images are the same size and positions when the menu is fully open and folded. But shouldn’t that .auto-fold body class remove after refreshing the page under this circumstance?

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Hi andy277,

    I’m having an issue similar to this in my multisite setup, where .auto-fold is active in the body tag at all times, regardless of screen size.

    Was wondering did you resolve your issue and if so, could you share your solution.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Admin .auto-fold’ is closed to new replies.