Hi,
Can I shrink my menu to only one line?
Here is my website: https://1cabe3-26.myshopify.com/
Thank you.
Hi,
Can I shrink my menu to only one line?
Here is my website: https://1cabe3-26.myshopify.com/
Thank you.
Hello! @Mentorpublish Please follow these steps to replace this CSS code:
.main-nav__tier-1-link {
font-family: Helvetica, 'Helvetica Neue', Arial, 'Lucida Grande', sans-serif;
font-style: normal;
font-weight: 700;
position: relative;
font-size: .8rem;/* replace this font size */
text-transform: none;
letter-spacing: 0px;
}
/* and add this CSS below of the file */
.main-nav {
flex-wrap: nowrap;
}
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Thank you
K.K
Hello @Mentorpublish
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
![]()
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
You can do that by adding this code to Custom CSS tab in Online Store > Themes > Customize > Theme settings
@media (min-width: 990px) {
.main-nav__tier-1-link { font-size: 0.9rem !important; }
}
Hello @Mentorpublish
Go to online store ---------> themes --------------> actions ------> edit code------->theme.css ----> line number 13624
search this code
.main-nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0 -1.25rem 0 0;
}
adn replace with this code
.main-nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0 -2.25rem 0 0;
}
result
If this was helpful, hit the like button and mark the job as completed.
Thanks
Hi @ArticMaze ,
Worked fine, thank you.