Top Menu Bar Doesn't Allow Me To Click The First Menu Item

Topic summary

Users report an issue with the Dawn theme where clicking the main category in a dropdown menu (e.g., “iPhones”) doesn’t navigate to that category page—only the subcategory items are clickable.

Proposed Solution:
A community member (Vinsinfo) provides a code customization fix:

  • Edit header-dropdown-menu.liquid and header-mega-menu.liquid files
  • Replace specific code to make main category links functional
  • Add CSS to base.css to fix text color issues (white text not displaying correctly)

Implementation Steps:

  1. Navigate to Online Store → Themes → Edit code
  2. Modify the liquid files with provided markup code
  3. Add CSS snippet for styling corrections

Current Status:
The desktop solution appears to work, but one user reports the fix doesn’t resolve the issue on mobile devices. The thread remains open with the mobile compatibility question unanswered.

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

Hello thanks for your reaction But what to I need to delete first? I know I need to paste this somewhere but what code do I need to delete to replace it with this?