Set the transparency and color of the burgermenu in Dawn 10.0.0

Hi,
Could anyone help me change the transparency, color and font of the burger menu in the Dawn 10.0.0 theme.
Is it possible to do this in the base.css?
The URL is: https://northequine.dk/

Thank you in advance!

1 Like

Hi @IversenKristoff ,

Try this.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
div#menu-drawer {
    background: transparent;
}
.menu-drawer__inner-container * {
    color: red;
}

Result:

I hope it help.

1 Like

@Made4uo-Ribe Works like a charm :slightly_smiling_face: -

  • How do you specify the level of transparency?
  • Selecting a sub-item in the menu makes the menu turn black again - how do you adjust that?
1 Like

Just play with the code I give the color of the background and font color can be change whatever you like but just dont delete or add something same this one. I change it.

div#menu-drawer {
    background: rgba(240, 240, 240, 0.6);
}
.menu-drawer__navigation-container * {
    color: black;
}

Result:

You can preview from the edit codes. And click save if you finalize your design.

I hope it help. :blush:

Hi @IversenKristoff

I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.

Please add this css in your bottom of the base.css file:

#menu-drawer {background: #000000db !important;}

Regards,

San

.menu-drawer {
    background: transparent;
}

Hello @IversenKristoff

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

I understand - it works for the first burger-menu, but when i select an item in the menu - it is still black:

1 Like

Okay you like to include that also. I try to put the sane transparent and for the sub menu it wont work but other color are working.

.menu-drawer__inner-submenu {
    background: white;
}

Result: