transparent header menu over image banner

transparent header menu over image banner

mathieulenoir
Tourist
23 0 2

hi 

i m using dawn theme and i would like to have:

1/ header transparent with image banner as background

2/this image banner size would adapt to any size screen you open the website with

3/when i scroll down, header becomes white background again

 

similare to this website: https://anauparis.com/

 

can anyone help me please? 🙂

Replies 8 (8)

saim007
Shopify Partner
601 74 103

@mathieulenoir Yes, it is possible but here I can't explain you because it is a practical task. Please share your site url.

Saim | Shopify Partner Expert

Was I helpful?

Buy me a Coffee

🙂
Hire me   to unlock the full potential of your e-commerce store 🙂
mathieulenoir
Tourist
23 0 2

thanks Sandeep

here comes my site: https://labalisienne.com/

PW: #BEBEdragon23

thanks for helping out!

saim007
Shopify Partner
601 74 103

Thanks @mathieulenoir You can do this by going to your Online Store > Live Theme >  Customization > Header setting and check for background-color and all you will get the pre-define settings in dawn theme. Please let me know if you need any help!

Saim | Shopify Partner Expert

Was I helpful?

Buy me a Coffee

🙂
Hire me   to unlock the full potential of your e-commerce store 🙂
mathieulenoir
Tourist
23 0 2

oh yes i need help! 🙂

is there any code to modify/add to do all this:

1/ header transparent with image banner as background

2/this image banner size would adapt to any size screen you open the website with

3/when i scroll down, header becomes white background again

 

saim007
Shopify Partner
601 74 103

@mathieulenoir If we write the code for the header, you have to upload white logo of the store and change the navigation menu color after this it will look like this-

sandyparihar07_0-1703833982552.png

 

Saim | Shopify Partner Expert

Was I helpful?

Buy me a Coffee

🙂
Hire me   to unlock the full potential of your e-commerce store 🙂
mathieulenoir
Tourist
23 0 2

looks good, i can do that

but will you share the code?

saim007
Shopify Partner
601 74 103

@mathieulenoir Please use below code in your css file-

.header-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: transparent;
}

header-menu span {
    color: #fff;
}

details-modal span svg {
    color: #fff;
}

.header__icons a {
    color: #fff;
}
Saim | Shopify Partner Expert

Was I helpful?

Buy me a Coffee

🙂
Hire me   to unlock the full potential of your e-commerce store 🙂
mathieulenoir
Tourist
23 0 2

thanks that works

but how to make the header with white background again when i scroll down?

and will that image be autosized depending on which screen i open the website from?