WordPress.org

Make WordPress Core

Opened 9 months ago

Closed 9 months ago

#52411 closed defect (bug) (invalid)

Sub Menu Bug

Reported by: austenco Owned by:
Milestone: Priority: normal
Severity: major Version:
Component: General Keywords:
Focuses: Cc:

Description

I have a problem with the menu and sub menu of my website.
the drop down on the menu seems to be bugged and it's separated and therefore cannot be clicked or hovered on.

Attachments (1)

Menu Bug.jpg (223.6 KB) - added by austenco 9 months ago.

Download all attachments as: .zip

Change History (2)

@austenco
9 months ago

#1 @sabernhardt
9 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

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 custom style like:

.main-navigation ul {margin: 0 !important;}

For future website support, please use the support forums. I'll close this ticket because it is not a WordPress bug.

Note: See TracTickets for help on using tickets.