Re: Changing Navigation/Menu Font Style

Solved

How can I change the font style and size of my website's navigation menu?

aeilene
Tourist
10 0 0

I've been trying for hours to change the font for my navigation/menu and tried all the solutions here. I would like to change the font to Oswald. It would also be awesome to help with sizing as well. Please help! My website is thetemplatevault.com and the password is rohblo.

 

 

Thank you!

Accepted Solutions (3)

Moeed
Shopify Partner
5422 1465 1752

This is an accepted solution.

Hey @aeilene 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.header__inline-menu ul.list-menu li a.header__menu-item {
    font-family: 'Oswald' !important;
    font-size: 25px !important;
}
</style>

RESULT:

Moeed_0-1692422934452.png

 

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

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Moeed
Shopify Partner
5422 1465 1752

This is an accepted solution.

Hey @aeilene 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

 

<style>
.header__menu-item span {
    color: blue;
}
</style>

 

 

RESULT:

Moeed_0-1692423597895.png


NOTE: Change the color from Blue to any color you want

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

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Moeed
Shopify Partner
5422 1465 1752

This is an accepted solution.

Hey @aeilene 

 

Just set the width to 138% then it should be parallel with the announcement bar.

RESULT:

 

Moeed_0-1692685421340.png

 

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

 

Best Regards,
Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 22 (22)

Moeed
Shopify Partner
5422 1465 1752

Hey @aeilene 

Your website is password protected, can you please share the Password as well?

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


Hardik29418
Shopify Partner
2913 419 1081

Please go to Online store -> themes -> Edit theme -> Layout -> theme.liquid and paste this code before </head>

<style>
.header__inline-menu ul.list-menu li a.header__menu-item {
font-family: 'Oswald' !important;
}
</style>

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email

Moeed
Shopify Partner
5422 1465 1752

This is an accepted solution.

Hey @aeilene 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.header__inline-menu ul.list-menu li a.header__menu-item {
    font-family: 'Oswald' !important;
    font-size: 25px !important;
}
</style>

RESULT:

Moeed_0-1692422934452.png

 

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

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


aeilene
Tourist
10 0 0

It worked! Can you also help me with changing the font color and hover as well?  Please and thank you!

 

Moeed
Shopify Partner
5422 1465 1752

This is an accepted solution.

Hey @aeilene 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

 

<style>
.header__menu-item span {
    color: blue;
}
</style>

 

 

RESULT:

Moeed_0-1692423597895.png


NOTE: Change the color from Blue to any color you want

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

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


aeilene
Tourist
10 0 0

You're so awesome! Thank you!

Moeed
Shopify Partner
5422 1465 1752

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


aeilene
Tourist
10 0 0

Would you be able to help me with changing other navigation bar background color?  Thanks so much!

 

Moeed
Shopify Partner
5422 1465 1752

Hey @aeilene 

 

Can you please tell me which other navigation bar are you talking about where you want to change the background color?

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


aeilene
Tourist
10 0 0

Screenshot 2023-08-22 at 1.02.10 AM.png

Only the navigation bar part, black background, and white font. Thank you @Moeed !

Moeed
Shopify Partner
5422 1465 1752

Hey @aeilene 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
nav.header__inline-menu {
    width: 100%;
    text-align: -webkit-center;
    background: black;
}
.header__inline-menu ul.list-menu li a.header__menu-item span {
    color: white !important;
}
</style>

RESULT:

Moeed_0-1692684490759.png

 

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

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


aeilene
Tourist
10 0 0

could it be paralleled with the announcement bar? Thanks so much.

Moeed
Shopify Partner
5422 1465 1752

This is an accepted solution.

Hey @aeilene 

 

Just set the width to 138% then it should be parallel with the announcement bar.

RESULT:

 

Moeed_0-1692685421340.png

 

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

 

Best Regards,
Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


aeilene
Tourist
10 0 0

You are so awesome, @Moeed ! thank you!

Moeed
Shopify Partner
5422 1465 1752

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


aeilene
Tourist
10 0 0

Thanks!!

Fredautoparts
Tourist
8 1 1

Hi Moeed,

 

I'm having an issue. The font for Collections with the submenus isn't being changed. The submenus it's self are changed though.

Fredautoparts_0-1720799989481.png

 

Moeed
Shopify Partner
5422 1465 1752

Hey @Fredautoparts 

 

Share your Store URL and Password if enabled.

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


Fredautoparts
Tourist
8 1 1

Here you go, www.fredautoparts.com

Also a question why does my contact page not have a underline when on it but other pages do? This isn't related to the font, I've been having this problem.

Moeed
Shopify Partner
5422 1465 1752

Hey @Fredautoparts 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
summary#HeaderMenu-collections {
    color: black !important;
    font-family: 'Alexandria' !important;
}
</style>

RESULT:

Moeed_0-1720807357562.png

 

If I managed to help you then, don't forget to Like it.

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


Fredautoparts
Tourist
8 1 1

Wow, you're very fast at what you do. Thank you so much!

Moeed
Shopify Partner
5422 1465 1752

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications