How can I change the background color of a sticky header?

Hello,

I have a sticky header on my website www.infinitycosmetics.it

I would like too set background color #97999b to fixed and scrolling header, now the fixed header is white and when I scroll it becomes #97999b.

How can I fix it?

Thanks

1 Like

@INFINITYCOS

yes i can see now normal header color white and after scroll #97999b its work

Hi, yes but I need always #97999b, I don’t want the white color

1 Like

@INFINITYCOS

yes, please try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.min.css->paste below code at the bottom of the file.
.header-menu-wrapper {background: #97999b;}

It doesn’t work :disappointed_face:

1 Like

@INFINITYCOS

oh sorry can you try this

.template-index .header-wrapper--overlay {background: #97999b !important;}

No, it doesn’t work, I put it in the Asset->/theme.min.css- right?

1 Like

yes, current but you have added extra bracket

just add this

.template-index .header-wrapper--overlay {background: #97999b !important;}

I removed it, but nothing

@INFINITYCOS

can add me staff account so i will check what issue

give me your email so I can add you

1 Like

@INFINITYCOS

can you please check and confirm

1 Like

THANKS A LOT, CAN YOU EXPLAIN ME?

1 Like

@INFINITYCOS

i have update theme default code