I need to remove the text under my collection-images in my mega menu (the imaged itself already have the title in them). On desktop this code works fine: .wrap-text { display: none; }
But the normal menu text disappears on mobile menu too if I apply this code (home, shop, etc.). Can someone help me? I’m using the fabric theme.
This selector will hide .wrap-text but only if it’s inside either .menu-drawer__menu-item (for mobile menu) or .mega-menu__link (for desktop menu) which also contains an image element.
So would not hide text if there is no image in this menu item.