How to remove the box around the mega menu

Topic summary

A user sought help removing an unwanted outline box appearing around their store’s hover mega menu. They had tried multiple solutions without success and provided comparison images showing the desired appearance versus the current boxed display.

Solution provided:

  • Navigate to Admin > Online Store > Edit Code
  • Locate and open the file “component-mega-menu.css”
  • Add CSS code at the end: .header.header-menu .mega-menu__content { border: none !important; }
  • Save the file after making changes

The solution successfully resolved the issue, with the original poster confirming it worked perfectly.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

Hi,

How can I remove the outline box from the hover over mega menu please? Tried a lot of solutions here but to no avail.

Examples attached - one without the box which I want, and how it displays now with the box.

website: https://ravenwood.store/

password: peuwey

Hello @Ravenwoodstore

To remove the border from the megamenu box, you just need to follow below steps:

  1. Go to admin > Online store > edit code.

  2. In code directory, find the file named “component-mega-menu.css” and open it.

  3. Copy below mention css and paste it at the end of the above mention file.

.header header-menu .mega-menu__content {
  border: none !important;
}
  1. Don’t forget to save the file after making changes.

Hope this code works for your issue.

if this solution helpful to you then make it as solved and like the solution.

Best regards

1 Like

Worked perfect! Thank you!