[wp-trac] [WordPress Trac] #52411: Sub Menu Bug
WordPress Trac
noreply at wordpress.org
Mon Feb 1 11:04:18 UTC 2021
#52411: Sub Menu Bug
--------------------------+----------------------
Reporter: austenco | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: major | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by sabernhardt):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hi @austenco !
Somehow the Astra theme adds this margin style, which seems unnecessary:
{{{
ol, ul:not(#wpadminbar ul) {
margin: 0 3em 1.5em 0 !important;
}
}}}
If you can find where that margin is defined, I would recommend
**removing** the style. **If you cannot** remove it, you could try
overriding that with a more insistent [https://wpastra.com/docs/adding-
custom-css-code/ custom style] like:
{{{
.main-navigation ul {margin: 0 !important;}
}}}
For future website support, please use the [https://wordpress.org/support/
support forums]. I'll close this ticket because it is not a WordPress bug.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52411#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list