Change colour on header when mega menu is open

33 0 5



Is there a way to change the transparent header to white when mega menu is open? 
I'm using Prestige theme, my store is:


Thanks in advance 🙂 

Replies 2 (2)

Shopify Partner
176 39 46

Hi, @Wibke_Loh 

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code to the head tag

  .shopify-section--header {
    background-color: #fff !important;


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to contact me on
33 0 5



This changes the background to white all the time. I only want it to change when mega menu is open.