I need help with fixing my menu drawer background and icon

Solved

I need help with fixing my menu drawer background and icon

DriftArmy
Excursionist
19 0 8

Hello,

I need help with building a store.
I recently made the background a picture and changed the header to transparant.
But now my hamburger icon is not visible anymore, only for a short time when closing it.
And the menu itself, the opacity needs to be at 100.

Can someone collaborate and change the code somewhere to fix this?

Thank you!

This is the website:
Soulful Journey

Accepted Solution (1)

tim
Shopify Partner
4353 505 1591

This is an accepted solution.

In your assets/base.css there is this code:

Screenshot 2025-04-06 at 11.13.30 AM.png

 

opacity must be 1: https://github.com/Shopify/dawn/blob/main/assets/base.css#L2716-L2723 

/* Header menu drawer */
.header__icon--menu .icon {
  display: block;
  position: absolute;
  opacity: 1;
  transform: scale(1);
  transition: transform 150ms ease, opacity 150ms ease;
}

 

Also, when your menu finally works, it's on the transparent background:

Screenshot 2025-04-06 at 11.17.36 AM.png

So this line https://github.com/Shopify/dawn/blob/main/assets/component-menu-drawer.css#L37 

must be changed from:

 background-color: rgb(211 204 204)(--color-background));

to:

 background-color: rgb(211 204 204);

Screenshot 2025-04-06 at 11.21.17 AM.png

 

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

View solution in original post

Replies 4 (4)
DriftArmy
Excursionist
19 0 8

The weird thing is, all the other icons are showing. I even changed the color of all the icons

DriftArmy
Excursionist
19 0 8

Thank you for your response. I understand, kind off. Now I need to find where it is. I tried the container in assets about the menu drawer, i could not find anything there that fixes it. 

Moeed
Shopify Partner
7395 2004 2446

Hey @DriftArmy 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code

3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
header-drawer * {
    opacity: 1 !important;
}
</style>

RESULT:

Moeed_0-1743882857197.png

 

If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


tim
Shopify Partner
4353 505 1591

This is an accepted solution.

In your assets/base.css there is this code:

Screenshot 2025-04-06 at 11.13.30 AM.png

 

opacity must be 1: https://github.com/Shopify/dawn/blob/main/assets/base.css#L2716-L2723 

/* Header menu drawer */
.header__icon--menu .icon {
  display: block;
  position: absolute;
  opacity: 1;
  transform: scale(1);
  transition: transform 150ms ease, opacity 150ms ease;
}

 

Also, when your menu finally works, it's on the transparent background:

Screenshot 2025-04-06 at 11.17.36 AM.png

So this line https://github.com/Shopify/dawn/blob/main/assets/component-menu-drawer.css#L37 

must be changed from:

 background-color: rgb(211 204 204)(--color-background));

to:

 background-color: rgb(211 204 204);

Screenshot 2025-04-06 at 11.21.17 AM.png

 

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com