admin bar overwrites top menu when browser width reduced
-
Hello,
I believe I may have found a bug in the WordPress core implementation. When the width of browser window is reduced, the items in the admin bar are overwriting items in the Enfold top menu, Enfold being the theme employed by the site. I have discussed the problem with the Enfold maintainers, which led to the conclusion that the problem is with WordPress core. The discussion on the Enfold theme forum may be found here: https://kriesi.at/support/topic/top-bar-overwriting-the-top-menu/#post-1314745.
The normal situation with a wide browser window is shown in the following image:
https://drive.google.com/file/d/1CfkWRAx2v3kv2fwsohyDIeGEkwZvfSDA/view?usp=sharing
When the browser window is narrowed by dragging the right hand side of the browser window to the left, the admin bar elements on the right drop down overwrite the Enfold top menu items, as shown in the following image:
https://drive.google.com/file/d/15lhI5awCfCZMq17uzXIAccM4Uw-2HrBO/view?usp=sharing
In detail, when the admin bar right side is forced into the middle, it encounters other admin bar items. Instead of expanding the vertical height of the admin bar and then writing the right hand items below the left hand items, the code controlling its style is placing the right hand items in the next vertical space, which holds the top menu items.
I have implemented a temporary workaround by adding code to the Code Snippets plugin that reduces the items in the admin bar. However, this is not a general solution, since some sites may wish to to retain some of these items.
- The topic ‘admin bar overwrites top menu when browser width reduced’ is closed to new replies.