Hello,
I am trying to have my header be transparent and placed on the video.
Can somebody provide me with corresponding code ?
this is my store url: https://justincase-de.com/?_ab=0&_fd=0&_sc=1
Kind regards.
A user seeks to make their header transparent and overlay it on a video in the Dawn theme. Multiple solutions have been proposed involving custom CSS code:
Suggested approaches:
base.css or theme.liquid file to set header background to transparent or semi-transparent using rgba() valuesCurrent status:
.header class with properties like position: absolute, background: rgba(), and flexbox/grid display settingsNote: The conversation text appears corrupted or reversed in places, making some code snippets difficult to read accurately. The discussion remains open with multiple community members providing CSS customization options.
Hello,
I am trying to have my header be transparent and placed on the video.
Can somebody provide me with corresponding code ?
this is my store url: https://justincase-de.com/?_ab=0&_fd=0&_sc=1
Kind regards.
This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/base.css->paste below code at the bottom of the file:
.header{
background-color: rgba(255, 0, 0, 0.5);
position: absolute;
display: flex;
withd: 100%;
justify-content: space-between;
}
You can change the rgb code for the color you want and the transparency in rgba()
Hop my answer will help you
Sorry about my answer. You can remove the above code and try adding it again with transparent color:
@media screen and (min-width: 990px){
.header {
background: rgba(255, 255, 255, 0.5);
padding-top: 8px;
padding-bottom: 8px;
display: grid;
justify-content: space-between;
width: -webkit-fill-available;
align-items: center;
}
}
And result like this:
Hello @JustInCase-de
You can follow these steps:
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
step 01:
step 02:
.header--middle-left.header--mobile-center.page-width.header--has-menu {
position: absolute;
width: 100%;
background-color: #01000152;
}
hope this idea helps you