Hello, I’m having trouble creating a transparent background for my header. Im using a logo image and that’s it. The image is a PNG so I’m not sure as to why this is not working.
Website: www.oth3rslifestyle.com
Hello, I’m having trouble creating a transparent background for my header. Im using a logo image and that’s it. The image is a PNG so I’m not sure as to why this is not working.
Website: www.oth3rslifestyle.com
Go to Themes> “…”> Edit Code> Header.liquid> Add this code above the /body tag> Save
{% if template == 'index' %}
Hope that solves your issue!
@biznazz101
Hi @OTH3RS ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file → Save
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Hi @OTH3RS
Try this one. This one.
hide-header header#SiteHeader {
background-color: transparent;
}
main#MainContent {
margin-top: -60px;
}
img.section-image__image.lazyautosizes.ls-is-cached.lazyloaded {
height: 100vh;
}
And Save.
Result:
Note: If you need for the sticky header, Let us know. Thanks!
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you, this worked!