Re: Background Colour on Header on Dawn

Solved

How can I change the header background color on Dawn?

woolkind
Excursionist
31 0 6

I recently changed the background of my store to an image. The issue is that the header is now transparent and I want it to be based on the colour scheme on the store and just be a solid colour so that it shows up properly. 

Accepted Solutions (2)

GemPages
Shopify Partner
5625 1262 1287

This is an accepted solution.

Hello @woolkind 

 

You can follow these steps: 
1. Go to Online Store->Theme->Edit code

GemPages_0-1671597568407.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_1-1671597593095.png

<style>
div#shopify-section-header {
    background: #fff !important;
}
</style>

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

LitCommerce
Astronaut
2860 684 761

This is an accepted solution.

Hi @woolkind,

Please go to Actions > Edit code > Assets > custom.css file and paste this at the bottom of the file:

.header-wrapper.gradient {
    background: var(--gradient-background) !important;
    background-attachment: fixed !important;
}

Hope it helps!

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!

View solution in original post

Replies 7 (7)

Finer
Shopify Partner
2670 559 932

@woolkind have you set up a color schema in the theme settings?

- Did my answer help? Mark my post with a like
- Did I solve your problem? Mark my post as an accepted solution.
- You need professional help? Contact our Shopify Partner Agency
woolkind
Excursionist
31 0 6

Yes I have but the code I used for the background basically made it all transparent and then added the image as the background. so the theme doesn't work on the header or footer now. Im fine with the footer but the header looks odd when you select a drop down menu. I managed to get someone to help with that but it doesn't look right. 

 

I want the header to be solid like the drop down menu. and if it can be linked to the colours I selected in the theme that would be amazing.

 

woolkind_0-1671551539477.png

 

Finer
Shopify Partner
2670 559 932

Did you make the changes in the code?

- Did my answer help? Mark my post with a like
- Did I solve your problem? Mark my post as an accepted solution.
- You need professional help? Contact our Shopify Partner Agency
woolkind
Excursionist
31 0 6

Yes, this post will help as it refers to the original code and the new code:  

https://community.shopify.com/c/shopify-design/dawn-background-image-header-issue/m-p/1868990#M49828...

Finer
Shopify Partner
2670 559 932

@woolkind the provided link does not work.

EDIT: I did find the post

- Did my answer help? Mark my post with a like
- Did I solve your problem? Mark my post as an accepted solution.
- You need professional help? Contact our Shopify Partner Agency

GemPages
Shopify Partner
5625 1262 1287

This is an accepted solution.

Hello @woolkind 

 

You can follow these steps: 
1. Go to Online Store->Theme->Edit code

GemPages_0-1671597568407.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_1-1671597593095.png

<style>
div#shopify-section-header {
    background: #fff !important;
}
</style>

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
LitCommerce
Astronaut
2860 684 761

This is an accepted solution.

Hi @woolkind,

Please go to Actions > Edit code > Assets > custom.css file and paste this at the bottom of the file:

.header-wrapper.gradient {
    background: var(--gradient-background) !important;
    background-attachment: fixed !important;
}

Hope it helps!

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!