remove underline and bold

Topic summary

A user wants to remove underline and bold styling from header and footer menu items when viewing product pages. The active menu item (e.g., “Drive tunes”) appears with unwanted formatting.

Initial Solution Provided:

  • Navigate to Online Store > Themes > Assets
  • Open the main CSS file (main.css, base.css, style.css, or theme.css)
  • Add CSS code targeting .header__active-menu-item and .header__menu-item:hover to remove text decoration

Issue:
The first solution didn’t fully resolve the problem—the header text remained bold.

Updated Solution:
Revised CSS code now includes:

  • color: unset for .header__active-menu-item
  • text-decoration-thickness: 0rem !important for hover states
  • Additional styling for .footer-block__details-content and .list__menu-item elements

The discussion appears ongoing, with the helper providing iterative CSS fixes to address both header and footer styling issues.

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

I would like to remove the underline and bolded text or black text from the header and footer when im on product link

image of when im on the product drivetunes (what to look for in pic Drive tunes in header and footer is underlined and bolded )

website https://eb00a5-ab.myshopify.com/

pass jordan

1 Like

Hi @jordan24640

Check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

.header__active-menu-item {
    text-decoration: none;
}
.header__menu-item:hover .header__active-menu-item {
  text-decoration-thickness: 0rem !important;
}
.list-menu__item--active {
    text-decoration: none;
    color: unset !important;
}
.list-menu__item--active:hover {
  text-decoration-thickness: 0rem !important;
}

And Save.

Result:

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

hmm its not really working for my site, the drivetunes in header is still bolded

Oh, i thought it only the footer have different color. Check this one again.

.header__active-menu-item {
    text-decoration: none;
    color: unset;
}
.header__menu-item:hover .header__active-menu-item {
  text-decoration-thickness: 0rem !important;
}
.footer-block__details-content .list-menu__item--active {
    text-decoration: none;
    color: unset !important;
}
.list-menu__item--active:hover {
  text-decoration-thickness: 0rem !important;
}

And Save.

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

1 Like