Hello, guys! How can I make the navigation menu on my header bigger only for mobile versions? Desktop size is perfect, but itβs too small on mobile. Thank you in advance!
Website: https://fddd3f.myshopify.com/
How it looks on mobile:
How I want it to look (but white):
Hi @kitchencrafted
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file β Save
@media (max-width: 749px) {
.menu-drawer summary.menu-drawer__menu-item {
font-size: 20px !important;
}}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Hi @kitchencrafted
You can make it bigger by finding and removing this CSS code at the bottom of you theme.liquid file
@media (max-width: 749px){
.menu-drawer__menu-item{
font-size: 10px !important;
}
}
Hello @kitchencrafted ,
You can try to follow these steps:
Go to Online Store β Themes β Actions β Edit code
Go to Assets folder => base.css file or theme.scss.liquid file
Add this following code at the bottom of page:
@media (max-width: 767px) {
.your-navigation-class {
font-size: 18px;
}
}
Save and preview
Hope this can help.
Transcy
1 Like
Hi @kitchencrafted ,
This is David at SalesHunterThemes.
Thank you for your question.
You can try to follow these steps:
Go to Online Store β Themes β Actions β Edit code.
Go Assets folder β base.css file.
Add this following code at the bottom of page.
@media (max-width: 749px) {
.menu-drawer__menu .menu-drawer__close-button,
.menu-drawer__menu .menu-drawer__menu-item {
font-size: 24px !important;
}}
Hope this can help.
David | SalesHunterThemes team