How do I underline and bold categories on mega menu?

Topic summary

A user seeks to underline and bold category headings in their mega menu to distinguish them from subcategories on a District theme store.

Solution Provided:
A community member shares CSS code to add to the theme’s stylesheet (base.css, style.css, or theme.css):

.header-menu__summary-container a {
    text-decoration: underline;
    font-weight: 900;
}

Implementation Steps:

  • Navigate to Online Store > Themes > Actions > Edit code
  • Locate the CSS file in the Assets folder
  • Add the code at the bottom and save

The original poster confirms this solution worked perfectly.

Additional Context:
Two other users attempted the same approach with Dawn and Refresh themes but encountered issues. The solution provider notes the code is theme-specific and offers to help troubleshoot if provided with store URLs. One user shares their store link for further assistance.

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

Good morning,

I want to underline and bold the different categories to make it stand out from the subcategories.

The website is using the District theme. Yellow circled sections are what id like to edit

Store link: https://offroadhq.com/

1 Like

Hi @offroadhq

Try this.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.header-menu__summary-container a {
    text-decoration: underline;
    font-weight: 900;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

This worked perfectly! Thank you

1 Like

hi i tried doing this but it wont work. im using the dawn theme

1 Like

Hi @cluboverthinker

Can I take a look on your store? Thanks!

This also did not work for me. I am using the Refresh Theme. I dont currently have this new menu published, but I can if that helps figure out what I am doing wrong.

Thanks so much!

Hi @krissyk85

It wont work cause the code is for the owner of the post. If you like i can take a look, but I need your store URL. Thanks!

Store link is: https://www.plantbarofficial.com/