I want to reduce text size and change font of the menu bar in the header section for the dawn theme.
Hello @Shivani3 ,
To reduce the text size and change the font of the menu bar in the header section for the Dawn theme, you’ll need to apply CSS properties:
- To adjust the text size, you can use the font-size property.
- For changing the font, utilize the font-family property, specifying the desired font family.
If you’re not familiar with technical terms, could you kindly share the URL of the store you mentioned earlier? If the store is password protected, providing the password will also be helpful. I’d be happy to assist you further
Website - hawbeez.com
Can you share with me the steps to add the code?
Hello @Shivani3
Here is the code you can try. It might be helpful for you.
Go to the Online Store-> Theme-> Edit code-> Assets> base.css → Add code at the bottom.
.list-menu__item span {
font-size: 18px;
font-family: Caslon Old Face;
}
Will the changes be applied to both the mobile and desktop versions?
I attempted to use the code but it only applied to desktop, not mobile. How can I apply it to both?
Hello @Shivani3 ,
Here is the code you can try. It might be helpful for you.
Go to the Online Store-> Theme-> Edit code-> Assets> base.css → Add code at the bottom.
@media screen and (min-width:1245px){
.list-menu__item span {
font-size: 18px;
font-family: Caslon Old Face;}}
@media screen and (max-width:1244px){
.list-menu__item span {
font-size: 15px;
font-family: Caslon Old Face;
}
}
The changes made are only applicable to desktops, not mobile devices.
Hello @Shivani3 ,
Here is the code you can try. It might be helpful for you.
Go to the Online Store-> Theme-> Edit code-> Assets> base.css → Add code at the bottom.
@media only screen and (max-width:768px){
.menu-drawer__menu-item {
font-size: 16px;
}
}
@media only screen and (min-width:990px){
.header__menu-item.list-menu__item.link {
font-size: 18px;
}
}
Hi @Shivani3
This is Theodore from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the
Hope this can help you solve the issue
Best regards,
Theodore | PageFly
