Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
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);
}
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);
}
Great. It worked. Thank you very much.
I want to keep the "login" and "Language" text in Highway Gothic font.
Make it
nav summary.list-menu__item,
nav .menu-drawer__close-button,
.menu-drawer__utility-links {
font-family: var(--font-heading-family);
}
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.
hmm -- this is what I see:
But it's not showing here. why?
I can see it fine here but I can't see this font when I login on mobile, tablet. Have you checked on mobile?
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:
<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>
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>
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.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025