Is it possible to change this banners color?

hi!

is it possible to make this banner also grey? but not over the whole website, only when I press on a product

www.gallerychristian.com

password: Christianshop123

thanks!

Hello @christian_russo

  1. Open Code Editor. ‘layout > theme.liquid’ and paste below lines above ' tag.
{% if template contains 'product' %}

{% endif %}

it doesn’t work :disappointed_face:

Hello @christian_russo

I have edited the reply please copy and paste it now.

thank you! it worked! is there also a way to make it transparent?

Hello @christian_russo

YES

just change the value of background from #dcdcdc to transparent

like below

background: #dcdcdc !important;

TO

background: transparent !important;

thank you! it worked perfectly!

I got 1 last question is it also possible to make it transparent when I scroll through my products?

thanks!

@christian_russo

You can add below lines in base.css at the bottom of the file.

.header-wrapper {
    background: transparent;
}

that doesn’t work :disappointed_face:

@christian_russo

Add !important with it.

background : transparent !important;

still doesn’t work as you can see:

@christian_russo

Try this

.header-wrapper.color-background-2 {
background-color: transparent !important;

}

sorry still doesn’t work…