Sense theme transparent header, except when on scroll up.

Sense theme transparent header, except when on scroll up.

biszark
Visitor
2 0 0

I need my header to basically look exactly like the one on shopazva.com on the sense theme. Right now, the header is not transparent. Also I need the color scheme of the text and logo to change from white on the transparent header, to black with a white background on sticky header. I know this is a lot but if someone can make this work I would be so grateful. My website for reference is rayn.industries

Thank you!

Replies 2 (2)

Sangeetanahar
Explorer
541 36 69

hello @biszark 

Go to online store ----> themes ----> actions ----> edit code ---->assets ---->theme.liquid...> Add the following code in the bottom of the file above </body> tag

 

<style>
@media screen and (min-width: 767px) { 
header.header {
    width: 100%;
    background-color: transparent;
    position: absolute;
}
{% if template == 'index' %}
   ul.list-menu.list-menu--inline li a {
    color: white;
}
{% endif %}

}
</style>

 

Rayn-Industries-09-28-2024_12_12_PM.png

If this was helpful, hit the like button and accept the solution.
Thanks

 

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -sangeetarahuldhiman@gmail.com - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here
biszark
Visitor
2 0 0

Is there a way to do this only on the home page? Also, add a white background, and change text (as well as cart, search, and account button) to black when not on the top of the page?

If you look here https://rayn.industries/collections/tees the header is still messed up.