How to change the menu color on dawn theme?

twacomm-store
Tourist
9 0 2

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.

Replies 17 (17)
PageFly-Richard
Shopify Partner
3417 756 1402

Hi @twacomm-store 

 

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. 


Make your Instagram Feed a Sales Generator with VIBE Shoppable Instagram Feed.

MarinaPetrovic
Shopify Partner
537 123 173

Hi @twacomm-store , go to edit code > assets > base.css and add this:

.header-wrapper--border-bottom{
background:#a01f1f!important;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
twacomm-store
Tourist
9 0 2

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

 

1605925f-9260-4ade-93ba-16011ce1d499.png

MarinaPetrovic
Shopify Partner
537 123 173

Yeah, I though that you meant menu background. 😂
Go to edit code > assets > base.css and add this:

.header__menu-item span{
color:#a01f1f;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
twacomm-store
Tourist
9 0 2

Well were getting there. Now it just made the text red, but not the navigation bar.

37fc49c1-343d-4b42-bb58-d4cabfa62b98.png

MarinaPetrovic
Shopify Partner
537 123 173

@twacomm-store , well that's specific. You have to share url so I can send you the code. 🙂

M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
twacomm-store
Tourist
9 0 2

https://vikingtelecomsolutions.myshopify.com

 

Thanks you much Marina for your help! I really appreciate it!

MarinaPetrovic
Shopify Partner
537 123 173

No problem, go to edit code > assets > base.css:

.header__inline-menu{
background:#a01f1f;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
twacomm-store
Tourist
9 0 2

That worked!!!! Your the best! Do you know how to make the menu bar full page?

MarinaPetrovic
Shopify Partner
537 123 173

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'.

M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Boky
Tourist
4 0 1

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 %}">

 

MarinaPetrovic
Shopify Partner
537 123 173

Hey @Boky , please share URL so I can take a look. 🙂

M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Boky
Tourist
4 0 1

Thanks for the fast response. I've sent you a PM.

MarinaPetrovic
Shopify Partner
537 123 173

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;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
junebugdarlin
Visitor
1 0 1

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!

Hardkoder
Shopify Partner
3 0 0

I also looking for the same solution here