How can i make my main menu font bigger(home, contact, etc)

Topic summary

Goal: increase the font size of the Shopify main menu (e.g., Home, Contact) via CSS.

Where to edit: Online Store → Themes → Edit code → Assets, then open base.css (or style.css/theme.css) and add CSS at the bottom, save.

CSS options suggested:

  • .list-menu.list-menu–inline a span { font-size: 24px !important; }
  • ul.list-menu.list-menu–inline span { font-size: 34px; }
  • .header__menu-item span { font-size: 30px !important; }

Notes: Different themes/selectors may require different targets. Some examples included screenshots showing larger menu text after applying the code.

Latest update: A participant reports one menu item didn’t change size, likely a dropdown menu item using a different selector. No confirmed fix provided yet; it may require targeting the dropdown-specific elements.

Status: Multiple working approaches offered; no single consensus selector. Discussion remains open with an unresolved case for dropdown menu items.

Summarized with AI on January 4. AI used: gpt-5.

Hi guys I need help to make my main menu size bigger, any help is greatly appreciated. Here is what i mean

here is my website:

https://brickbuildzz.com/

1 Like

Add this css

.list-menu.list-menu--inline a span {
    font-size: 24px !important;
}

Hi @BrickBuidz

Try this one,

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
  4. And Save.
ul.list-menu.list-menu--inline span {
    font-size: 34px;
}

Result:

" :glowing_star: Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! :raising_hands: "

HI @BrickBuidz

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

.header__menu-item span {

font-size: 30px !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

hello, I added the same code to my base.css but the size of one word didn’t change. Probably because it opens a drop down menu with more element. how do i fix this? thanks