Help CSS for Mega Menu Dropdown Category Change text size or thickness

Topic summary

Goal: Make mega menu parent categories visually distinct from sub-categories in a Shopify theme.

Fix provided: Add custom CSS in theme.liquid (before ) targeting a.navlink.navlink–child span to apply underline and heavier weight (bold). A screenshot showed where to paste the code.

Outcome: The change worked as desired; original request resolved.

New issue: Merchant is using a custom font from a font app (“Voyage Regular Copy”). One section won’t accept styling changes tried via browser Inspect. A screenshot of the problematic section was attached.

Constraints: Storefront is password-protected; earlier noted and helper requested the password to investigate the font/section issue.

Status: Initial menu styling issue resolved. Follow-up font application issue remains open pending access (store password). Images are relevant for understanding both the code placement and the section display problem.

Summarized with AI on December 23. AI used: gpt-5.

Hi loves!

I have a theme that needs some editing. The dropdown menu Categories are very similar to the sub-categories under them and need help finding css/html code to make them different.

I would like the Categories above the sub-categories to be either BOLD or LARGER or Underlined.

URL is: https://sorella-company.myshopify.com/

Thank you so much! xo

Hi @divinelyguided

Your store has password protected.

Hello @divinelyguided

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

a.navlink.navlink--child span { text-decoration: underline !important; font-weight: 900; }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

1 Like

NIRAJ!!! :heart_eyes:

I could freaking kiss you! This is perfect and exactly what I have been searching for for months.

Thank you sooo much and may you be so blessed for your kindness. xoxo

1 Like

Awww! I am very happy to help you @divinelyguided :hugs:

1 Like

Hi Niraj!

i have one more question & I know you can help me with this!

I added a font app and using custom font.. it’s uploaded as “Voyage Regular Copy”.

I have a section that will not take any code I am trying to use from “inspect”.

I attached an image.

Can you help me with this? & how can I buy you coffee. lol Thank you!

password please