Heading Menu Font Issue ( Shopify Dawn Theme )

Solved

Heading Menu Font Issue ( Shopify Dawn Theme )

dreamtechzone_5
Shopify Partner
676 1 100

Hello Everyone!

 

I just want the menu headings NEVADA, TENNESSEE, COMPANY, SHOP as Highway Gothic (HWYGEXPD) in all versions. Please help me. Thank you.

 

Store: https://blue-chic-clothes.myshopify.com/

Password: Admin

 

 

dreamtechzone_5_0-1746908944148.png

 

dreamtechzone_5_1-1746908943871.png

 

 

Accepted Solution (1)

tim
Shopify Partner
4482 532 1634

This is an accepted solution.

Can go into "Custom CSS" of header section, or "Custom CSS" in theme settings, or at the bottom of the assets/base.css

nav summary.list-menu__item, 
nav .menu-drawer__close-button {
  font-family: var(--font-heading-family);
}
If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

View solution in original post

Replies 11 (11)

tim
Shopify Partner
4482 532 1634

This is an accepted solution.

Can go into "Custom CSS" of header section, or "Custom CSS" in theme settings, or at the bottom of the assets/base.css

nav summary.list-menu__item, 
nav .menu-drawer__close-button {
  font-family: var(--font-heading-family);
}
If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
dreamtechzone_5
Shopify Partner
676 1 100

Great. It worked. Thank you very much.

dreamtechzone_5
Shopify Partner
676 1 100

I want to keep the "login" and "Language" text in Highway Gothic font.

 

BLUE-CHIC-CLOTHES-·-Customize-Custom-Theme-·-Shopify-05-11-2025_12_16_PM.png

 

tim
Shopify Partner
4482 532 1634

Make it

nav summary.list-menu__item, 
nav .menu-drawer__close-button, 
.menu-drawer__utility-links {
  font-family: var(--font-heading-family);
}
If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
dreamtechzone_5
Shopify Partner
676 1 100

The heading menu font is not changing in mobile mode. I want to keep the heading menu font Highway Gothic in all versions of desktop, mobile, tablet, and laptop. I just want to change the heading menu font.

 

494574630_684280001029537_1567267267797283676_n.jpg

tim
Shopify Partner
4482 532 1634

hmm -- this is what I see:

Screenshot 2025-05-11 at 7.16.05 PM.png

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
dreamtechzone_5
Shopify Partner
676 1 100

But it's not showing here. why?

dreamtechzone_5
Shopify Partner
676 1 100

I can see it fine here but I can't see this font when I login on mobile, tablet. Have you checked on mobile?

 

BLUE-CHIC-CLOTHES-·-Customize-Custom-Theme-·-Shopify-05-11-2025_03_52_PM.png

tim
Shopify Partner
4482 532 1634

Ah, I did not really pay attention to the font look -- I kinda implied that actual loading of the font is already done.

 

And you're right -- this is not the font you want, this is a fallback font, "sans-serif", which can be different on different browsers/devices.

In your main browser you may still see the font you wanted because it may still be in browser cache since you've researched it.

 

And because we see the fallback font it means that font assignment is done properly, but the actual font file is not loaded.

 

Here is you problem -- you've added this to your assets/base.css:

@font-face {
  font-family: "Highway Gothic Expanded";
  src: url("{{ "HWYGEXPD.woff" | asset_url }}") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Improves font loading performance */
}

 

However, liquid code is not processed in .css assets, and this is the reason that the font is not loaded -- the URL is not right.

 

Here is what you should do:

  1. Remove this code from the base.css
  2. Upload your font file to Files, not theme Assets -- Shopify often damages fonts uploaded to Assets (yours is damaged).
  3. Add a "Custom liquid" section in your footer group (can also try Header group).
  4. Paste this code there:
<style>
 @font-face {
  font-family: "Highway Gothic Expanded";
  src: url({{ "HWYGEXPD.woff" | file_url }}) format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Improves font loading performance */
 }
</style>

 

 

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
dreamtechzone_5
Shopify Partner
676 1 100

Where do I paste this code? I will paste this code here instead of this one.

 

 

<style>
@font-face {
font-family: "Highway Gothic Expanded";
src: url({{ "HWYGEXPD.woff" | file_url }}) format("woff");
font-weight: normal;
font-style: normal;
font-display: swap; /* Improves font loading performance */
}
</style>

 

BLUE-CHIC-CLOTHES-·-Edit-Custom-Theme-·-Shopify-05-11-2025_06_31_PM.png

tim
Shopify Partner
4482 532 1634

Follow the steps 1-5 in my previous post.

Again -- these CSS rules use liquid code. Liquid is not processed in .css assets (as I wrote above), so it would not work in assets/base.css.

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com