Since I’ve updated my installation to 2.1.0b6, I noticed a display bug on the category page as an administrator.
When I’m clicking on the burger menu near to New topic button, the button is moving behind the burger.
I’ve compared with an early version and it seems due to some css property which have been modified.
Apparently, with this version, the burger button get a fixed position whereas earlier version where using a simple float right.
After few tests, I’m able to reproduce only if I get something in the </body> from a component in the used template. I can’t understand why.
The content itself doesn’t matter. It may be a simple <p>Something</p>.
Once the safe mode has been enabled, the issue does not append. Confirming it’s related to a customization. I don’t understand why It’s doing it when I’m putting html inside the </body> hook. Isn’t the purpose of it ?
Furthermore, I did extra tests by putting alternatively the html in </head>HeaderAfter Header, </body> and Footer. In all case, I’ve get this rendering issue.
Thanks. The padding may have something to do with it, but I suspect the main culprit is the width: 700px
I think it would be best to not mess with the CSS for #evesde-modal-description or .modal-body as most likely those styles are used elsewhere and you wouldn’t want to fix one problem and create others in the process.
A selector that uses both an id and a class has more specificity than those that use only the one or the other, so using both should allow you to target that <div> only. eg.
#evesde-modal-description.modal-body {
/* CSS rules here */
}
If necessary try adding the element to the selector for even more specificity.
div#evesde-modal-description.modal-body {
/* CSS rules here */
}
The think I don’t get is why in the hell, having the modal-body class on a modal is causing this burger button to get extra hardcoded css style stuff
When I’m moving the css rules I’ve put on the div to the CSS stylesheet, the bug of the burger menu is back.
But it does not appears while there is not the modal-body class on the modal body div.
is used in a few conditionals. In your case, it will always return true since you’re adding an element with that class in your theme which always exists.