How to make header overlap with banner picture below (ride)

Hi! We’ve been trying to set up our online store and have run into a few issues with the header. We’re using the theme “Ride” and we’ve been trying everything to 1. Make the header transparent when completely scrolled to the top of the page and opaque when scrolling down and 2. Either move the header down to the Template, so that it’s layered on top of the banner picture or move the banner picture up, so that it’s placed on top of the page.
I hope this makes any sense at all, since none of us has any idea of coding and our first language isn’t English, so if anyone has a solution for our problem, a detailed explanation would be greatly appreciated.

I’ll also put some pictures of a website that has exactly what we want

Transparent header overlapping with the banner picture below

turning opaque when scrolling up

thanks in advance for any replies!

N

Hi @GaSstorebikes

Please share your store link

https://fipcan-vt.myshopify.com/?_ab=0&_fd=0&_sc=1

Your store has password-protected

Oh right, sorry, you should be able to access it now

Please add this code to theme.liquid file, after in Online Store > Themes > Edit code

{% if template == 'index' %}

{% endif %}

This worked perfectly, thank you so much!!! :folded_hands:t2:

Happy I could help!

Hi, sorry to bother you again, but this code seems to have stopped working correctly. The image banner is still moved to the top but the header is completely opaque now. Is there any way to change it back to being transparent?

best regards

N