Hello @qiuyuanyuan,
If you wish to reset the styling of the submenu wrapper for menu items containing static blocks, you may consider using the following custom CSS snippet:
.elementor-widget-theme-etheme_nav_menu .menu-static-block.nav-sublist-dropdown {
border: none;
background: transparent;
}
You can view the frontend result here: https://gyazo.com/ad2bf6838aaed2ae03cd509ed7d22e2c
However, please note that the mega menu with a static block will become transparent then. Therefore, you may set any background on the main section in Elementor editor of your mega menu, similar to how you set the border, box-shadow, etc. You can see an example here: https://gyazo.com/43cea4abef742585cc36b5ada88b9035
Custom CSS usage: https://www.8theme.com/documentation/xstore/additional-customisation/optimal-placement-for-custom-css-code/
Best Regards,
Jack Richardson
The 8Theme’s Team















