Want to remove product links from the mega menu. ( Shopify Urban Theme )

Topic summary

A Shopify store owner using the Urban theme wants to customize their mega menu by removing product links and “View All” buttons while keeping only images and collection links across all devices.

Solutions Provided:
Multiple users offered CSS-based solutions with slight variations:

  • Add CSS code to hide .mega-menu_inner-list and .mega-menu_details-button elements
  • One user recommended adding the code to the Header Section’s “Custom CSS” setting to avoid theme update complications
  • Others suggested editing the base.css file directly

Current Status:
The original poster confirmed one solution worked successfully.

Follow-up Request:
They now want to:

  • Add more collections to the mega menu (4 collections per row, unlimited total)
  • Remove border lines from the menu

The discussion remains open as the additional customization requests have not yet been addressed.

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

Hello Everyone!

I want to remove the product link and view all link from the mega menu in all formats (desktop, tablet, mobile mode) and keep only the image and collection links in the mega menu. Please help me. Thank you.

Store: https://urbanglowingstore.myshopify.com/

Password: Admin

Hi @dreamtechzone_5

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file

.mega-menu_details-button.bottom-wrap,
ul.list-unstyled.mega-menu_inner-list {
    display: none !important;
}

Result

Best,

DaisyVo

I’d try to add something like this to the Header Section setting “Custom CSS”

.mega-menu_inner-list,
.mega-menu_details-button {
  display: none;
}

I usually do not recommend editing theme code – this will make future theme updates much more complex.

Hello @dreamtechzone_5
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.

li.mega-menu_inner-list-item {
display: none;
}
.mega-menu_details-button {
display: none !important;
}

result

If this was helpful, hit the like button and accept the solution.
Thanks

1 Like

Great. It worked. Thank you. Can I add more collections below?
There will be 4 collections per line and I can add as many collections as I want to the mega menu. Also I want to remove the border line.