Hello,
I 'd like to increase the font size of the navigation bar, which has smaller font than the dropdown menus.
I prefer to add custom css code to the section instead of liquid.theme
Thanks.
A user seeks to increase the navigation bar font size, which appears smaller than dropdown menus, and prefers adding custom CSS to the theme section rather than modifying the liquid theme file.
Solution Provided:
.header__primary-nav-item.li h6 { font-size: 1.2rem; }.header-sidebar__linklist-button.h6 { font-size: 1.5rem; }Key Points:
Hello,
I 'd like to increase the font size of the navigation bar, which has smaller font than the dropdown menus.
I prefer to add custom css code to the section instead of liquid.theme
Thanks.
Try this one.
li.header__primary-nav-item .h6 {
font-size: 1.2rem;
}
And Save.
Result:
Do you want to adjust the font on mobile as well?
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
It works on the desktop version thank you! Yes, can you send me some code for mobile?
Yes sure, same instruction add this code.
.header-sidebar__linklist-button.h6 {
font-size: 1.5rem;
}
And Save.
Can I ask, did you add the section id template for the font?

That’s not necessary when you’re calling common parts of the store, like the footer and header.
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Nope I didn’t!