Change the font of sub-menu or extend the length

Hi everyone,

as you can see the screenshot, I want to change the font of sub-menu or change the length of the menu. I have tried some codes in the forum, but did not work.

I tried

@media screen and (min-width: 990px) {
.header__submenu .header__menu-item.header__menu-item {
font-size: 16px !important;
}
}

in theme.css, not work. The theme is “Envy”

Do you have any suggestions?

You want to change the font or the font-size?

And extend the length how?

Hi @sux ,

This is David at SalesHunterThemes.

You can try to follow these steps:

Go to Online Store → Themes → Actions → Edit code.

Go Assets folder → theme.liquid file.

Add the following code in the bottom of the file above tag


If I managed to help you then, don’t forget to Like it and Mark it as Solution!

David | SalesHunterThemes team

After I click save and then preview the store, it still looks like this:

Hi @sux ,

Would you please share your website URL

if your website is password protected then also provide the password.

https://shopify.com/77801849176/account

password: thohff

Hi @sux ,
You can try again:


If I managed to help you then, don’t forget to Like it and Mark it as Solution!

David | SalesHunterThemes team

Wow, thank you, that really helps!

Btw, do you know how to extend the length of the sub-menu? I want to find the best combination of fonts and length.

Is this what you mean?

yes!

You can add code:


If I managed to help you then, don’t forget to Like it and Mark it as Solution!

David | SalesHunterThemes team