Shopify themes, liquid, logos, and UX
Hi, I am currently using the dawn theme and I want to change the menu color to #a01f1f. Can anyone help me with this? I would really appreciate it.
Can you share with me the page url..
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @twacomm-store , go to edit code > assets > base.css and add this:
.header-wrapper--border-bottom{
background:#a01f1f!important;
}
Thank you so much for your reply. I tried that but made the header a different color and not just the menu. Any ideas. Thanks again for your help
Yeah, I though that you meant menu background. 😂
Go to edit code > assets > base.css and add this:
.header__menu-item span{
color:#a01f1f;
}
Well were getting there. Now it just made the text red, but not the navigation bar.
@twacomm-store , well that's specific. You have to share url so I can send you the code. 🙂
https://vikingtelecomsolutions.myshopify.com
Thanks you much Marina for your help! I really appreciate it!
No problem, go to edit code > assets > base.css:
.header__inline-menu{
background:#a01f1f;
}
That worked!!!! Your the best! Do you know how to make the menu bar full page?
Hi @twacomm-store , go to edit code > sections > header.liquid and look for this:
<header class="header header--top-left page-width header--has-menu">
Remove 'page-width'.
Hi @MarinaPetrovic, I am trying to do the same thing as @twacomm-store did. I managed to change the color to white, but can't get the menu bar to be full page.
It seems as if the code in the latest Dawn theme version might be a little bit different.
Any ideas how to get the menu to be full page? Thank you.
<header class="header header--{{ section.settings.logo_position }} header--mobile-{{ section.settings.mobile_logo_position }} page-width{% if section.settings.menu != blank %} header--has-menu{% endif %}">
Hey @Boky , please share URL so I can take a look. 🙂
Thanks for the fast response. I've sent you a PM.
Hey @Boky , go to edit code > sections > header.liquid, look for this:
<header class="header header--{{ section.settings.logo_position }} header--mobile-{{ section.settings.mobile_logo_position }} page-width{% if section.settings.menu_type_desktop == 'drawer' %} drawer-menu{% endif %}{% if section.settings.menu != blank %} header--has-menu{% endif %}">
replace it with:
<header class="header header--{{ section.settings.logo_position }} header--mobile-{{ section.settings.mobile_logo_position }} {% if section.settings.menu_type_desktop == 'drawer' %} drawer-menu{% endif %}{% if section.settings.menu != blank %} header--has-menu{% endif %}">
After that go to assets > base.css and add this:
.header__inline-menu{
width:100%;
text-align:center;
}
Hi @MarinaPetrovic - do you know how to change the color of just one item in the header navigation? I want my 'sale' section to be red, but keep all my other navigation headers black.
Thanks!
I also looking for the same solution here
Hey @MarinaPetrovic do you know, how can I change only one (the first) menu item's font's color?
Hi @FHostman , please share url so I can take a look. 🙂
like a few people posting at the end here, I am also looking for a solution to change the color of just a single menu item in the header of the dawn theme.
Here is my url https://liriodumplings.com/
ideally, the word 'tienda' would be red.
Thank you!
oh, actually I think I figured it out for others who might be interested
Going to the edit theme code page, under 'Assets' find the base.css and add
.header__inline-menu .list-menu li:nth-child(1) a{color: red !important;}
anywhere after where it says ":root {"
just change 'red' to whatever color or color code you want. and change the number in the parenthesis after "child" to the corresponding menu item you want to change the color of. In this case, 1 was the first item, but if you wanted to changed it to the third item for example, change it to (3).
Cheers!
User | RANK |
---|---|
183 | |
169 | |
77 | |
56 | |
45 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023